Merge pull request #1210 from acusti/patch-1
Wrap remember me text and checkbox in a label
This commit is contained in:
commit
e378b3152c
|
@ -25,6 +25,11 @@ The register and sign-in page style
|
|||
.form-label {
|
||||
width: 160px;
|
||||
}
|
||||
.chk-label {
|
||||
width: auto;
|
||||
text-align: left;
|
||||
margin-left: 176px;
|
||||
}
|
||||
.alert{
|
||||
margin:0 30px 24px 30px;
|
||||
}
|
||||
|
@ -60,4 +65,4 @@ The register and sign-in page style
|
|||
background-color: #FFF;
|
||||
margin-left: -15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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" .}}
|
||||
{{template "ng/base/footer" .}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user