diff options
Diffstat (limited to 'app/acf-util/roles-viewroles-html.lsp')
-rw-r--r-- | app/acf-util/roles-viewroles-html.lsp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/acf-util/roles-viewroles-html.lsp b/app/acf-util/roles-viewroles-html.lsp index 46fdfc2..9575ac6 100644 --- a/app/acf-util/roles-viewroles-html.lsp +++ b/app/acf-util/roles-viewroles-html.lsp @@ -11,20 +11,20 @@ <H2>Create new role</H2> <form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller) %>/newrole" method="POST"> <input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" > -<dl><dt></dt><dd><input class="submit" type="submit" value="New Role"></dd></dl> +<dl><dt></dt><dd><input class="submit" type="submit" value="Create"></dd></dl> </form> <H2>Existing roles</H2> <% if view.value.default_roles then %> - <dl> + <table> <% for x,role in pairs(view.value.default_roles.value) do %> - <dt><img src='/skins/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= html.html_escape(role) %></dt> + <tr><td><dt><img src='/skins/static/tango/16x16/categories/applications-system.png' height='16' width='16'> <%= html.html_escape(role) %></dt> <dd> [<a href='viewroleperms?role=<%= html.html_escape(role) %>'>View this role</a>] [<a href='editrole?role=<%= html.html_escape(role) %>&redir=<%= html.html_escape(page_info.orig_action) %>'>Edit this role</a>] - </dd> + </dd></td></tr> <% end %> - </dl> + </table> <% end %> <% if view.value.defined_roles then %> <dl> |