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