<% form_tag request.request_uri do %>
<%= hidden_field_tag 'nonce', @nonce %>
+<% @title = t('user_role.grant.heading') %>
+<h1><%= t('user_role.grant.heading') %></h1>
<p><%= t('user_role.grant.are_you_sure', :name => params[:display_name], :role => params[:role]) %></p>
<p><%= submit_tag t'user_role.grant.confirm' %></p>
<% end %>
<% form_tag request.request_uri do %>
<%= hidden_field_tag 'nonce', @nonce %>
+<% @title = t('user_role.revoke.heading') %>
+<h1><%= t('user_role.revoke.heading') %></h1>
<p><%= t('user_role.revoke.are_you_sure', :name => params[:display_name], :role => params[:role]) %></p>
<p><%= submit_tag t'user_role.revoke.confirm' %></p>
<% end %>
already_has_role: "The user already has role {{role}}."
doesnt_have_role: "The user does not have role {{role}}."
grant:
+ title: Confirm role granting
+ heading: Confirm role granting
are_you_sure: "Are you sure you want to grant the role `{{role}}' to the user `{{name}}'?"
confirm: "Confirm"
fail: "Couldn't grant role `{{role}}' to user `{{name}}'. Please check that the user and role are both valid."
revoke:
+ title: Confirm role revoking
+ heading: Confirm role revoking
are_you_sure: "Are you sure you want to revoke the role `{{role}}' from the user `{{name}}'?"
confirm: "Confirm"
fail: "Couldn't revoke role `{{role}}' from user `{{name}}'. Please check that the user and role are both valid."