Commit ee2c87ff by Őry Máté

dashboard: fix acl form field names

parent 8f700284
......@@ -12,7 +12,7 @@
<tbody>
{% for i in acl.users %}
<tr><td><i class="icon-user"></i></td><td>{{i.user}}</td>
<td><select class="form-control" name="perm-u-{{i.id}}">
<td><select class="form-control" name="perm-u-{{i.user.id}}">
{% for id, name in acl.levels %}
<option{%if id = i.perm%} selected="selected"{%endif%} value="{{id}}">{{name}}</option>
{% endfor %}
......@@ -21,7 +21,7 @@
{% endfor %}
{% for i in acl.groups %}
<tr><td><i class="icon-group"></i></td><td>{{i.group}}</td>
<td><select class="form-control" name="perm-g-{{i.id}}">
<td><select class="form-control" name="perm-g-{{i.group.id}}">
{% for id, name in acl.levels %}
<option{%if id = i.perm%} selected="selected"{%endif%} value="{{id}}">{{name}}</option>
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment