]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/edit.html.erb
Prevent CSRF bypass unblocking users
[rails.git] / app / views / oauth_clients / edit.html.erb
index d696baae3e336b07c21e31020a661319fb953078..f31063ae02fc57c4da5773cfda5425cbe678b929 100644 (file)
@@ -2,7 +2,6 @@
   <h1><%= t ".title" %></h1>
 <% end %>
 
-<%= form_for @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
+<%= bootstrap_form_for @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
   <%= render :partial => "form", :locals => { :f => f } %>
-  <%= f.submit %>
 <% end %>