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