bench-forgejo/templates/base/alert.tmpl

2 lines
189 B
Cheetah
Raw Normal View History

2014-04-11 02:06:50 +05:30
{{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}}