X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..6b631f1e25533233fe8e323c7f6d657a2b1d8718:/app/views/oauth_clients/new.html.erb diff --git a/app/views/oauth_clients/new.html.erb b/app/views/oauth_clients/new.html.erb index 34b2d2b29..d9cc05d02 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -1,6 +1,10 @@ -

Register a new application

-<% form_for :client_application, :url => { :action => :create } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> -
- <%= submit_tag "Register" %> +<% content_for :heading do %> +

<%= t ".title" %>

<% end %> + +
+ <%= form_for @client_application, :url => { :action => :create } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> + <%= f.submit %> + <% end %> +