X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..1cb92c9d2aa3ae59688fcd1107af0b8c70743fc2:/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 0a49f48f8..d9cc05d02 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -3,8 +3,8 @@ <% end %>
- <%= form_for :client_application, :url => { :action => :create } do |f| %> + <%= form_for @client_application, :url => { :action => :create } do |f| %> <%= render :partial => "form", :locals => { :f => f } %> - <%= submit_tag t(".submit") %> + <%= f.submit %> <% end %>