gitea/templates/base/alert.tmpl

2 lines
189 B
Cheetah
Raw Normal View History

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