X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..d89a30421cd67b2d9ed63b38aab9084930a26a70:/app/views/oauth_clients/new.html.erb?ds=inline diff --git a/app/views/oauth_clients/new.html.erb b/app/views/oauth_clients/new.html.erb index 1c18857b1..d9cc05d02 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -1,9 +1,10 @@ <% content_for :heading do %> -

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

+

<%= t ".title" %>

<% end %> -<%= form_for :client_application, :url => { :action => :create } do |f| %> - <%= render :partial => "form", :locals => { :f => f } %> -
- <%= submit_tag t('oauth_clients.new.submit') %> -<% end %> \ No newline at end of file +
+ <%= form_for @client_application, :url => { :action => :create } do |f| %> + <%= render :partial => "form", :locals => { :f => f } %> + <%= f.submit %> + <% end %> +