itdoxy-lab/templates/base/alert.tmpl

2 lines
189 B
Cheetah
Raw Normal View History

2014-04-11 00:36:50 +04: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}}