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

<%= t'oauth_clients.new.title' %>

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