]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_roles/grant.html.erb
Get rid of custom CSRF protection for user role changes
[rails.git] / 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
deleted file mode 100644 (file)
index cee4112..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<% 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 %>