X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b63ce5d460cf794602aa7996cdd857dc39faa3d9..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/app/views/user/terms.html.erb diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 24f0f5bb6..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' %>

@@ -11,14 +13,9 @@ <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %> @@ -38,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") %>