X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59102ea017825ceafdfe603cc43f9dd45e5c0ab6..c6710bba542d3c4d9d83967049fa9bccdc3f9fbf:/app/views/user_roles/grant.html.erb diff --git a/app/views/user_roles/grant.html.erb b/app/views/user_roles/grant.html.erb index ca45266d6..13f81184c 100644 --- a/app/views/user_roles/grant.html.erb +++ b/app/views/user_roles/grant.html.erb @@ -1,5 +1,7 @@ -<% form_tag request.request_uri do %> +<%= form_tag request.fullpath do %> <%= hidden_field_tag 'nonce', @nonce %> +<% @title = t('user_role.grant.heading') %> +
<%= t('user_role.grant.are_you_sure', :name => params[:display_name], :role => params[:role]) %>
-<%= submit_tag t'user_role.grant.confirm' %>
+<%= submit_tag t('user_role.grant.confirm') %>
<% end %>