mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -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')}")
|
||||
if !isProduction
|
||||
.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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue