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/signin.tmpl | |
parent | 459223cf01d19a6956d370fad9ab41d3a32233d0 (diff) | |
download | gitea-45462662e9bdb001f1cf3d4ca0e4d679757c7642.tar.gz gitea-45462662e9bdb001f1cf3d4ca0e4d679757c7642.zip |
Add flash
Diffstat (limited to 'templates/user/signin.tmpl')
-rw-r--r-- | templates/user/signin.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/signin.tmpl b/templates/user/signin.tmpl index eb4cb9ccee..294c0d3418 100644 --- a/templates/user/signin.tmpl +++ b/templates/user/signin.tmpl @@ -4,7 +4,7 @@ <form action="/user/login" method="post" class="form-horizontal card" id="login-card"> {{.CsrfTokenHtml}} <h3>Log in</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"> |