]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Fix browse features buttons
[rails.git] / app / views / oauth_clients / new.html.erb
index 34b2d2b296ee7529d33223629492f3bfd71929db..a931cffe59660c61b51793776d298b05a8a8fc80 100644 (file)
@@ -1,6 +1,11 @@
-<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'oauth_clients.new.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('oauth_clients.new.submit') %>
+</div>
+
 <% end %>