]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/new.html.erb
Move a chunk of non-markup ruby code from a view to the controller
[rails.git] / app / views / oauth_clients / new.html.erb
index eccdc6c60f073bacfd51201c2700dc5ff52869cb..2cd748ac653620bb8f32b7082b0d8409175972bc 100644 (file)
@@ -1,5 +1,6 @@
-<h1>Register a new application</h1>
-<% form_for :client_application, :url => { :action => :create } do |f| %>
+<h1><%= t'oauth_clients.new.title' %></h1>
+<%= form_for :client_application, :url => { :action => :create } do |f| %>
    <%= render :partial => "form", :locals => { :f => f } %>
-   <%= submit_tag "Register" %>
-<% end %>
\ No newline at end of file
+   <br />
+   <%= submit_tag t('oauth_clients.new.submit') %>
+<% end %>