X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/13289d404188bd397ee72852f66c415a2bb87066..d53bbe53f48d3f235ebc93af665ac912c057a51b:/app/views/user/terms.html.erb?ds=inline diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 849005274..a2d33e36e 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -1,4 +1,6 @@ -

<%= t 'user.terms.heading' %>

+<% content_for :heading do %> +

<%= t 'user.terms.heading' %>

+<% end %>

<%= t 'user.terms.read and accept' %>

@@ -33,14 +35,6 @@

<%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %> - <% if @user.new_record? %> - <%= hidden_field('user', 'email') %> - <%= hidden_field('user', 'email_confirmation') %> - <%= hidden_field('user', 'display_name') %> - <%= hidden_field('user', 'pass_crypt') %> - <%= hidden_field('user', 'pass_crypt_confirmation') %> - <%= hidden_field('user', 'openid_url') %> - <% end %>

<%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %> <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>