]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Use built-in form submit translation keys for oauth client applications
[rails.git] / app / views / oauth_clients / new.html.erb
index 34b2d2b296ee7529d33223629492f3bfd71929db..d9cc05d0224f9922143e055710f8b75531099f76 100644 (file)
@@ -1,6 +1,10 @@
-<h1>Register a new application</h1>
-<% form_for :client_application, :url => { :action => :create } do |f| %>
-   <%= render :partial => "form", :locals => { :f => f } %>
-   <br />
-   <%= submit_tag "Register" %>
+<% 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 } %>
+    <%= f.submit %>
+  <% end %>
+</div>