X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/655dc6787e9092a004b582b52ff8e9ccd0d40bb3..28af501924c6cc30560f463fe818bb098a18b9cc:/app/views/oauth_clients/edit.html.erb diff --git a/app/views/oauth_clients/edit.html.erb b/app/views/oauth_clients/edit.html.erb index d3b2c8c8a..f31063ae0 100644 --- a/app/views/oauth_clients/edit.html.erb +++ b/app/views/oauth_clients/edit.html.erb @@ -1,6 +1,7 @@ -

<%= t'oauth.client_application.edit.title' %>

-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application), :html => { :method => :put } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> -
- <%= submit_tag t'oauth.client_application.edit.submit' %> +<% content_for :heading do %> +

<%= t ".title" %>

+<% end %> + +<%= 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 } %> <% end %>