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