mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
470 B
13 lines
470 B
2 years ago
|
for perm, index in Object.keys(jsonPermissions)
|
||
|
if jsonPermissions[perm].title && index > 0
|
||
|
hr(size=1)
|
||
|
h4.mv-5 #{jsonPermissions[perm].title}
|
||
|
if jsonPermissions[perm].subtitle
|
||
|
p #{jsonPermissions[perm].subtitle}
|
||
|
.row
|
||
|
label.postform-style.ph-5
|
||
|
input(type='checkbox' name=perm value=jsonPermissions[perm].bit checked=jsonPermissions[perm].state)
|
||
|
.rlabel #{jsonPermissions[perm].label}
|
||
|
p #{jsonPermissions[perm].desc}
|
||
|
input(type='submit', value='Save')
|