X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6afa132b84659f136d10e540196de3e428e073f1..f2e302c6a8c57b6f1902c7bf869b185b0a7f25d5:/app/views/users/terms.html.erb?ds=inline diff --git a/app/views/users/terms.html.erb b/app/views/users/terms.html.erb index a93ecb0a1..b7efe912e 100644 --- a/app/views/users/terms.html.erb +++ b/app/views/users/terms.html.erb @@ -2,53 +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 => " inner22 standard-form fillL" }) do %> +<%= form_tag({ :action => "save" }) do %> -
- - +

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

+

+ <%= t ".heading_ct" %> +

+

<%= t ".contributor_terms_explain" %>

+ +
<% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %> -
-
-
+
<%= render :partial => "terms" %>
-
- - (<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>) +
+

+ <%= 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" %> + +
+
- <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %> +

+ <%= 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 ".read and accept" %>

- <%= submit_tag(t(".agree"), :name => "agree", :id => "agree") %> - <%= submit_tag(t(".decline"), :name => "decline", :id => "decline") %> +
+
+ <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %> +
+
-
-

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

-
+ <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %> + +
+ <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true, :class => "btn btn-primary") %> + <%= submit_tag("Cancel", :name => "decline", :id => "decline", :class => "btn btn-outline-secondary") %> +
+ +
+
+ <%= check_box("user", "consider_pd", :class => "form-check-input") %> + + (<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)
<% end %>