summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2015-04-24 15:03:49 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2015-04-24 15:03:49 +0800
commite378b3152c2b68561dc8f8d181cd7a1da5a63fa2 (patch)
treecf83c52ddd4912f3fd7cf4991181d3cca0b76e17 /templates
parent673a76d638139ad3d5df1ba4314edfb1df2afc5c (diff)
parent3a3e1b90e7c1c293a60d74ecf3a08cb2c07743dc (diff)
downloadgitea-e378b3152c2b68561dc8f8d181cd7a1da5a63fa2.tar.gz
gitea-e378b3152c2b68561dc8f8d181cd7a1da5a63fa2.zip
Merge pull request #1210 from acusti/patch-1
Wrap remember me text and checkbox in a label
Diffstat (limited to 'templates')
-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..bc0b0f2d31 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="chk-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" .}}