X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/efa2c20bff4d68cfdaf5fc532ba5eb0711e7cd2d..2e1f6428e7d03a109db57b0d0614ecd2c0e5d5c1:/app/views/users/terms.html.erb?ds=sidebyside diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index bc8b86ef2..a5dc3291d 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -2,73 +2,83 @@ <%= javascript_include_tag "user" %> <% end %> +<% content_for :heading_class, "pb-0" %> <% content_for :heading do %> -

<%= t ".heading" %>

-
+
+

<%= t ".heading" %>

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

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

+

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

<%= t ".heading_ct" %>

-
-

<%= t ".contributor_terms_explain" %>

- - +

<%= t ".contributor_terms_explain" %>

+ +
<% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %> -
-
-
+
<%= render :partial => "terms" %>
-

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

+ <%= t ".guidance_info_html", + :readable_summary_link => link_to(t(".readable_summary"), + "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary"), + :informal_translations_link => link_to(t(".informal_translations"), + "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations") %>

-
- +
+
+ <%= check_box_tag "read_ct", "1", false, :class => "form-check-input" %> + +

<%= t "layouts.tou" %>

-

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

-
- +

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

- <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %> - -
- <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true) %> - <%= submit_tag("Cancel", :name => "decline", :id => "decline") %> +
+
+ <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %> +
+
+ + <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %> -