X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f6dbd403507edd14f04f3151c285e232607360..d075fc4c1f3e7a17b4c71e7a06fd6cf318e0ef2f:/app/views/oauth_clients/edit.html.erb?ds=sidebyside
diff --git a/app/views/oauth_clients/edit.html.erb b/app/views/oauth_clients/edit.html.erb
index 3ff72fee3..085ddef4e 100644
--- a/app/views/oauth_clients/edit.html.erb
+++ b/app/views/oauth_clients/edit.html.erb
@@ -1,5 +1,6 @@
-
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
+<%= t'oauth_clients.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_clients.edit.submit' %>
+<% end %>