]> git.openstreetmap.org Git - rails.git/blob - app/views/user_roles/grant.html.erb
Added a confirmation step to the process of granting and revoking user roles.
[rails.git] / app / views / user_roles / grant.html.erb
1 <% form_tag request.request_uri do %>
2 <%= hidden_field_tag 'nonce', @nonce %>
3 <p><%= t('user_role.grant.are_you_sure', :name => params[:display_name], :role => params[:role]) %></p>
4 <p><%= submit_tag t'user_role.grant.confirm' %></p>
5 <% end %>