1
0

alert.tmpl 457 B

1234567891011121314151617181920
  1. {{if .Flash.ErrorMsg}}
  2. <div class="ui negative message">
  3. <p>{{.Flash.ErrorMsg | Str2HTML}}</p>
  4. </div>
  5. {{end}}
  6. {{if .Flash.WarningMsg}}
  7. <div class="ui warning message">
  8. <p>{{.Flash.WarningMsg | Str2HTML}}</p>
  9. </div>
  10. {{end}}
  11. {{if .Flash.SuccessMsg}}
  12. <div class="ui positive message">
  13. <p>{{.Flash.SuccessMsg | Str2HTML}}</p>
  14. </div>
  15. {{end}}
  16. {{if .Flash.InfoMsg}}
  17. <div class="ui info message">
  18. <p>{{.Flash.InfoMsg | Str2HTML}}</p>
  19. </div>
  20. {{end}}