X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/908a6ef409518d86bfd2cdf0d2a82a6c312821c8..e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6:/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..2a5f99381 100644 --- a/app/views/oauth_clients/edit.html.erb +++ b/app/views/oauth_clients/edit.html.erb @@ -1,6 +1,8 @@ -

<%= 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 '.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 '.submit' %> <% end %>