diff --git a/app/views/users/admin_grant_permissions.html.erb b/app/views/users/admin_grant_permissions.html.erb index 573ea31..ad925cc 100644 --- a/app/views/users/admin_grant_permissions.html.erb +++ b/app/views/users/admin_grant_permissions.html.erb @@ -6,11 +6,36 @@
<%= form_tag( admin_update_permissions_user_path(@user), method: :put) do %> - +
<% @perms.each do |perm| %> - + <% case perm.name when 'grant_permissions' %> + + <% when 'modify_templates' %> + + <% when 'modify_guidance' %> + + <% when 'use_api' %> + + <% when 'change_org_details' %> + + <% end %> <% end %> @@ -26,4 +51,4 @@
<%= perm.name %> + <%= _('Grant permissions') %> + + <%= _('Modify templates') %> + + <%= _('Modify guidance') %> + + <%= _('API rights') %> + + <%= _('Change organisation details') %> +
<%= submit_tag _('Save') %> <% end %> -
\ No newline at end of file +