]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Avoid unnecessary arrays
[rails.git] / app / views / oauth_clients / new.html.erb
index eccdc6c60f073bacfd51201c2700dc5ff52869cb..0a49f48f88150946550cd7c8142181457a5aa08e 100644 (file)
@@ -1,5 +1,10 @@
-<h1>Register a new application</h1>
-<% form_for :client_application, :url => { :action => :create } do |f| %>
-   <%= render :partial => "form", :locals => { :f => f } %>
-   <%= submit_tag "Register" %>
-<% end %>
\ No newline at end of file
+<% content_for :heading do %>
+  <h1><%= t ".title" %></h1>
+<% end %>
+
+<div class='standard-form'>
+  <%= form_for :client_application, :url => { :action => :create } do |f| %>
+    <%= render :partial => "form", :locals => { :f => f } %>
+    <%= submit_tag t(".submit") %>
+  <% end %>
+</div>