Fix admin checkbox label for attribute so clicking on it toggles checkbox correctly

This commit is contained in:
dpen2000 2014-05-19 23:27:09 +01:00
parent 7c0d73e779
commit 10d0ef0606

View file

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