summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Patton <andrew@acusti.ca>2015-04-15 21:39:13 -0400
committerAndrew Patton <andrew@acusti.ca>2015-04-15 21:39:13 -0400
commit072c67e457e9a91b63bba1442726c71b93045e08 (patch)
treef715b13b5cf1da5b9d45e28fc17dadcbee2702e4
parent9512eec034e4691d611152e8182605a2b7811cb7 (diff)
downloadgitea-072c67e457e9a91b63bba1442726c71b93045e08.tar.gz
gitea-072c67e457e9a91b63bba1442726c71b93045e08.zip
Wrap remember text+checkbox in label; close #1209
-rw-r--r--templates/user/auth/signin.tmpl7
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"/>&nbsp;&nbsp;&nbsp;&nbsp;<strong>{{.i18n.Tr "auth.remember_me"}}</strong>
+ <label class="checkbox-label">
+ <input class="ipt-chk" id="remember" name="remember" type="checkbox"/>&nbsp;&nbsp;&nbsp;&nbsp;<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" .}}