]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/edit.html.erb
Site cleanup
[rails.git] / app / views / oauth_clients / edit.html.erb
index bee1bd183d43ae91a89c15134a18b5d2851750a9..99aab0ed03b95d9d7db616eb846ed28ae50cafc5 100644 (file)
@@ -1,5 +1,8 @@
-<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| %>
+<% content_for :heading do %>
+  <h1><%= t'oauth_clients.edit.title' %></h1>
+<% 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 } %>
   <br/>
   <%= submit_tag t'oauth_clients.edit.submit' %>