X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..657ed03d8b2e262bc965cc38e8af190624c3295b:/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 %> +