X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f6dbd403507edd14f04f3151c285e232607360..0baa293699cf6efaea979b342ec877af522213ca:/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 eccdc6c60..d9cc05d02 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -1,5 +1,10 @@ -

Register a new application

-<% 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 %> +

<%= t ".title" %>

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