]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Merge remote-tracking branch 'upstream/pull/2782'
[rails.git] / app / views / oauth_clients / new.html.erb
index eccdc6c60f073bacfd51201c2700dc5ff52869cb..7b4ea5bb0593cd7e238bd781ea5134fcb7b618fe 100644 (file)
@@ -1,5 +1,7 @@
-<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 %>
+
+<%= bootstrap_form_for @client_application, :url => { :action => :create } do |f| %>
+  <%= render :partial => "form", :locals => { :f => f } %>
+<% end %>