forkjo/templates/base/alert.tmpl

2 lines
189 B
Cheetah
Raw Normal View History

2014-04-10 22:36:50 +02:00
{{if .Flash.ErrorMsg}}<div class="alert alert-danger form-error">{{.Flash.ErrorMsg}}</div>{{end}}
{{if .Flash.SuccessMsg}}<div class="alert alert-success">{{.Flash.SuccessMsg}}</div>{{end}}