aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/users/new.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-04-11 10:28:23 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-04-11 10:28:23 +0800
commit8cfa2be4332abdc8bdcadead36d065eab3d2d55e (patch)
tree9fe6d03f5006c3dced1f9d5102f43504fb58e8b5 /templates/admin/users/new.tmpl
parentdb39e58a139ef8581b4b61d2d4a68b4e5324acdf (diff)
parent306aa5bffe7868207ed7b773c1aedbf3f0a659ad (diff)
downloadgitea-8cfa2be4332abdc8bdcadead36d065eab3d2d55e.tar.gz
gitea-8cfa2be4332abdc8bdcadead36d065eab3d2d55e.zip
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'templates/admin/users/new.tmpl')
-rw-r--r--templates/admin/users/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/users/new.tmpl b/templates/admin/users/new.tmpl
index 7f441f32b3..4c851e3144 100644
--- a/templates/admin/users/new.tmpl
+++ b/templates/admin/users/new.tmpl
@@ -12,7 +12,7 @@
<br/>
<form action="/admin/users/new" method="post" class="form-horizontal">
{{.CsrfTokenHtml}}
- <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
+ {{template "base/alert" .}}
<div class="form-group {{if .Err_UserName}}has-error has-feedback{{end}}">
<label class="col-md-3 control-label">Username: </label>
<div class="col-md-7">