X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a8d73c0244a1455fc0d2fc24f1cbefdebedf1a1..9d3b419aad3069db13fc0169049a30fbc2b2a288:/app/views/user/terms.html.erb?ds=sidebyside diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index eab21e455..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,19 +35,11 @@

<%= 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") %>


-

<%= t 'user.terms.guidance', :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>

+

<%= raw t 'user.terms.guidance', :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>

<% end %>