]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/edit.html.erb
Avoid empty content_for blocks as they trigger warnings
[rails.git] / app / views / oauth_clients / edit.html.erb
index d3b2c8c8ad915aa55bdd5fecabbb15c8bf97c73a..bee1bd183d43ae91a89c15134a18b5d2851750a9 100644 (file)
@@ -1,6 +1,6 @@
-<h1><%= t'oauth.client_application.edit.title' %></h1>
-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application), :html => { :method => :put } do |f| %>
-       <%= render :partial => "form", :locals => { :f => f } %>
-       <br/>
-       <%= submit_tag t'oauth.client_application.edit.submit' %>
+<h1><%= t'oauth_clients.edit.title' %></h1>
+<%= 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 } %>
+  <br/>
+  <%= submit_tag t'oauth_clients.edit.submit' %>
 <% end %>
 <% end %>