alert.tmpl 307 B

12345678910111213141516
  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}}