]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Use built-in form submit translation keys for oauth client applications
[rails.git] / app / views / oauth_clients / new.html.erb
index b5767e6ca7ccf391f5a9b96685a402e51dbb9d4f..d9cc05d0224f9922143e055710f8b75531099f76 100644 (file)
@@ -1,10 +1,10 @@
 <% content_for :heading do %>
-  <h1><%= t '.title' %></h1>
+  <h1><%= t ".title" %></h1>
 <% end %>
 
 <div class='standard-form'>
-  <%= 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 %>
 </div>