2015-07-08 14:47:56 +03:00
|
|
|
{{if .Flash.ErrorMsg}}
|
2020-10-21 02:50:10 +03:00
|
|
|
<div class="ui negative message flash-error">
|
2017-02-19 14:18:06 +03:00
|
|
|
<p>{{.Flash.ErrorMsg | Str2html}}</p>
|
2015-12-08 01:30:52 +03:00
|
|
|
</div>
|
2015-07-24 18:13:42 +03:00
|
|
|
{{end}}
|
|
|
|
{{if .Flash.SuccessMsg}}
|
2020-10-21 02:50:10 +03:00
|
|
|
<div class="ui positive message flash-success">
|
2017-02-19 14:18:06 +03:00
|
|
|
<p>{{.Flash.SuccessMsg | Str2html}}</p>
|
2015-12-08 01:30:52 +03:00
|
|
|
</div>
|
2015-08-06 17:48:11 +03:00
|
|
|
{{end}}
|
|
|
|
{{if .Flash.InfoMsg}}
|
2020-10-21 02:50:10 +03:00
|
|
|
<div class="ui info message flash-info">
|
2017-02-19 14:18:06 +03:00
|
|
|
<p>{{.Flash.InfoMsg | Str2html}}</p>
|
2015-12-08 01:30:52 +03:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2022-09-02 10:58:49 +03:00
|
|
|
{{if .Flash.WarningMsg}}
|
|
|
|
<div class="ui warning message flash-warning">
|
|
|
|
<p>{{.Flash.WarningMsg | Str2html}}</p>
|
|
|
|
</div>
|
|
|
|
{{end}}
|