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