Merge pull request #1037 from dpen2000/FixAdminCheckbox

Fix admin checkbox label for attribute
This commit is contained in:
Nick Winter 2014-05-19 15:47:47 -07:00
commit 5f5e7afabd

View file

@ -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)