mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fix admin checkbox label for attribute so clicking on it toggles checkbox correctly
This commit is contained in:
parent
7c0d73e779
commit
10d0ef0606
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ block content
|
||||||
input#email.form-control(name="email", type="text", value="#{me.get('email')}")
|
input#email.form-control(name="email", type="text", value="#{me.get('email')}")
|
||||||
if !isProduction
|
if !isProduction
|
||||||
.form-group.checkbox
|
.form-group.checkbox
|
||||||
label(for="email", data-i18n="account_settings.admin") Admin
|
label(for="admin", data-i18n="account_settings.admin") Admin
|
||||||
input#admin(name="admin", type="checkbox", checked=me.get('permissions').indexOf('admin') != -1)
|
input#admin(name="admin", type="checkbox", checked=me.get('permissions').indexOf('admin') != -1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue