X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/340d5c05cf49b7bc743eb959c637a42bc258e2d8..a36f3558dd43dd5a598e36dd21fd5f7d2b4a94f5:/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 34b2d2b29..1c18857b1 100644 --- a/app/views/oauth_clients/new.html.erb +++ b/app/views/oauth_clients/new.html.erb @@ -1,6 +1,9 @@ -

Register a new application

-<% form_for :client_application, :url => { :action => :create } do |f| %> +<% content_for :heading do %> +

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

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