X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e470d8a6593d1a5496e854e76ad7940be034cadf..f5cbc9c4fec78f4b8a1d01859b08d82ecb66a1b0:/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 855fc03d8..99aab0ed0 100644 --- a/app/views/oauth_clients/edit.html.erb +++ b/app/views/oauth_clients/edit.html.erb @@ -1,6 +1,9 @@ -

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

-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application.user.display_name, @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'oauth_clients.edit.title' %>

+<% end %> + +<%= 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 } %> +
+ <%= submit_tag t'oauth_clients.edit.submit' %> <% end %>