X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..75e178e6b884f3b2199f69e354ece2cae0a1f5fc:/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 3ff72fee3..397849c44 100644 --- a/app/views/oauth_clients/edit.html.erb +++ b/app/views/oauth_clients/edit.html.erb @@ -1,5 +1,8 @@ -

Edit your application

-<% form_for :client_application do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> - <%= submit_tag "Edit" %> -<% end %> \ No newline at end of file +<% 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 %>