forgejo/templates/base/alert.tmpl

2 lines
189 B
Cheetah
Raw Normal View History

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