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

<%= t'oauth.client_application.new.title' %>

-<% form_for :client_application, :url => { :action => :create } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> -
- <%= submit_tag t('oauth.client_application.new.submit') %> +<% 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 %> +