X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/30d5e783e478789d2454e85c6d5b621b07a11081..52452d95b452419e003a2e59fa559635fa5748e3:/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 %>