X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..1998ec88b82f29f7ea3c65f41895a1e76a1ded5a:/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