X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b8a8a88004d25837a10436fdc13128146b32c32b..6db326aa1f084a062a3b658876bc01bf650f5702:/app/views/users/terms.html.erb diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index a836c8590..d4a9fa0bd 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -3,22 +3,27 @@ <% end %> <% content_for :heading do %> -

<%= t '.heading' %>

+

<%= t ".heading" %>

<% end %> -<%= form_tag({:action => "save"}, { :class => " inner22 standard-form fillL" }) do %> +<%= form_tag({ :action => "save" }, { :class => " inner22 standard-form fillL" }) do %> +

<%= t ".read and accept with tou" %>

+
+

<%= t ".contributor_terms_explain" %>

- <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name, legale| %> + <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
<% end %> @@ -28,27 +33,42 @@ <%= render :partial => "terms" %>
+
+

+ <%= raw t ".guidance", + :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary", + :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %> +

+
-
+ + +

<%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>

+
+ - (<%= link_to(t('.consider_pd_why'), t('.consider_pd_why_url'), :target => :new)%>) - <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %> + <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
-

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

- <%= submit_tag(t('.agree'), :name => "agree", :id => "agree") %> - <%= submit_tag(t('.decline'), :name => "decline", :id => "decline") %> + <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %> + <%= submit_tag("Cancel", :name => "decline", :id => "decline") %>
-
-

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

-
+ + (<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>) +
<% end %>