diff options
author | Andrew Patton <andrew@acusti.ca> | 2015-04-15 21:39:13 -0400 |
---|---|---|
committer | Andrew Patton <andrew@acusti.ca> | 2015-04-15 21:39:13 -0400 |
commit | 072c67e457e9a91b63bba1442726c71b93045e08 (patch) | |
tree | f715b13b5cf1da5b9d45e28fc17dadcbee2702e4 | |
parent | 9512eec034e4691d611152e8182605a2b7811cb7 (diff) | |
download | gitea-072c67e457e9a91b63bba1442726c71b93045e08.tar.gz gitea-072c67e457e9a91b63bba1442726c71b93045e08.zip |
Wrap remember text+checkbox in label; close #1209
-rw-r--r-- | templates/user/auth/signin.tmpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/user/auth/signin.tmpl b/templates/user/auth/signin.tmpl index 455df63ac8..8cca3aca2a 100644 --- a/templates/user/auth/signin.tmpl +++ b/templates/user/auth/signin.tmpl @@ -17,8 +17,9 @@ </div> {{if not .IsSocialLogin}} <div class="field"> - <span class="form-label"></span> - <input class="ipt-chk" id="remember" name="remember" type="checkbox"/> <strong>{{.i18n.Tr "auth.remember_me"}}</strong> + <label class="checkbox-label"> + <input class="ipt-chk" id="remember" name="remember" type="checkbox"/> <strong>{{.i18n.Tr "auth.remember_me"}}</strong> + </label> </div> {{end}} <div class="field"> @@ -41,4 +42,4 @@ </div> </form> </div> -{{template "ng/base/footer" .}}
\ No newline at end of file +{{template "ng/base/footer" .}} |