diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2015-04-24 15:03:49 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2015-04-24 15:03:49 +0800 |
commit | e378b3152c2b68561dc8f8d181cd7a1da5a63fa2 (patch) | |
tree | cf83c52ddd4912f3fd7cf4991181d3cca0b76e17 /templates | |
parent | 673a76d638139ad3d5df1ba4314edfb1df2afc5c (diff) | |
parent | 3a3e1b90e7c1c293a60d74ecf3a08cb2c07743dc (diff) | |
download | gitea-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.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..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"/> <strong>{{.i18n.Tr "auth.remember_me"}}</strong> + <label class="chk-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" .}} |