更新权限节点

This commit is contained in:
undefined committed 2020-06-30 11:48:27 +08:00
1 parent e092efca20
commit b22082beba
16 files changed
+88 -87

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
{% endfor %}
</tr>
</thead>
{% for family, perms in perm.PERMS_BY_FAMILY %}
{% for family, perms in PERMS_BY_FAMILY %}
<tbody>
<tr>
<td class="col--family" colspan="{{ (roles|length)+1 }}">
+2
View File
@@ -5,6 +5,7 @@
</div>
<div class="section__body">
{% for setting in family_settings %}
{% if not setting.hidden %}
{% if setting.ui == 'text' or setting.ui == 'password' or setting.ui == 'number' %}
{{ form.form_text({
type:setting.ui,
@@ -61,6 +62,7 @@
value:current[setting.key] or setting.value
})}}
{% endif %}
{% endif %}
{% endfor %}
</div>
{% endfor %}