alert.tmpl 300 B

123456789101112131415
  1. {{if .Flash.ErrorMsg}}
  2. <div class="ui negative message">
  3. <p>{{.Flash.ErrorMsg}}</p>
  4. </div>
  5. {{end}}
  6. {{if .Flash.SuccessMsg}}
  7. <div class="ui positive message">
  8. <p>{{.Flash.SuccessMsg}}</p>
  9. </div>
  10. {{end}}
  11. {{if .Flash.InfoMsg}}
  12. <div class="ui info message">
  13. <p>{{.Flash.InfoMsg}}</p>
  14. </div>
  15. {{end}}