diff --git a/app/views/users/admin_grant_permissions.html.erb b/app/views/users/admin_grant_permissions.html.erb index 69b5aa5..e70d80d 100644 --- a/app/views/users/admin_grant_permissions.html.erb +++ b/app/views/users/admin_grant_permissions.html.erb @@ -1,59 +1,56 @@
| <%= _('Name') %> | +||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| <%= _('Name') %> | <% @perms.each do |perm| %> <% case perm.name when 'grant_permissions' %> -- <%= _('Grant permissions') %> - | - <% when 'modify_templates' %> -- <%= _('Modify templates') %> - | - <% when 'modify_guidance' %> -- <%= _('Modify guidance') %> - | - <% when 'use_api' %> -- <%= _('API rights') %> - | - <% when 'change_org_details' %> -- <%= _('Change organisation details') %> - | ++ <%= _('Grant permissions') %> + | + <% when 'modify_templates' %> ++ <%= _('Modify templates') %> + | + <% when 'modify_guidance' %> ++ <%= _('Modify guidance') %> + | + <% when 'use_api' %> ++ <%= _('API rights') %> + | + <% when 'change_org_details' %> ++ <%= _('Change organisation details') %> + | <% end %> <% end %>
| <%= @user.name(false) %> | <% @perms.each do |perm| %> -- <%= check_box_tag "perm_ids[]", perm.id, @user.perms.include?(perm) %> - | +<%= check_box_tag "perm_ids[]", perm.id, @user.perms.include?(perm) %> | <% end %>