forkjo/templates/base/alert_old.tmpl
2015-07-08 19:47:56 +08:00

2 lines
No EOL
189 B
Cheetah

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