diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-10 16:36:50 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-10 16:36:50 -0400 |
commit | 45462662e9bdb001f1cf3d4ca0e4d679757c7642 (patch) | |
tree | eb5f3bfe24a423601ad27121c95427719cb16984 /templates/user/signup.tmpl | |
parent | 459223cf01d19a6956d370fad9ab41d3a32233d0 (diff) | |
download | gitea-45462662e9bdb001f1cf3d4ca0e4d679757c7642.tar.gz gitea-45462662e9bdb001f1cf3d4ca0e4d679757c7642.zip |
Add flash
Diffstat (limited to 'templates/user/signup.tmpl')
-rw-r--r-- | templates/user/signup.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/signup.tmpl b/templates/user/signup.tmpl index 6ed595a350..87fa80ccc1 100644 --- a/templates/user/signup.tmpl +++ b/templates/user/signup.tmpl @@ -7,7 +7,7 @@ Sorry, registeration has been disenabled, you can only get account from administrator. {{else}} <h3>Sign Up</h3> - <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-4 control-label">Username: </label> <div class="col-md-6"> |