X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59eebc05b2de2c85033237c06d9474d5072b4d1f..1d6051d08b5268a30122a6ca9ea04f6a03544737:/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..b27f9b8fc 100644 --- a/app/views/oauth_clients/edit.html.erb +++ b/app/views/oauth_clients/edit.html.erb @@ -1,6 +1,6 @@ -

<%= 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' %> +

<%= t'oauth_clients.edit.title' %>

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