1 <% content_for :head do %>
 
   2   <%= javascript_include_tag "user" %>
 
   5 <% content_for :heading_class, "pb-0" %>
 
   6 <% content_for :heading do %>
 
   7   <div class='header-illustration new-user-terms'>
 
   8     <h1><%= t ".heading" %></h1>
 
  12 <%= form_tag account_terms_path, :method => :put do %>
 
  13   <!-- legale is <%= @legale %> -->
 
  14   <p class="text-body-secondary"><%= t ".read and accept with tou" %></p>
 
  16     <%= t ".heading_ct" %>
 
  18   <p class="text-body-secondary"><%= t ".contributor_terms_explain" %></p>
 
  19   <label class="form-label">
 
  20     <%= t ".legale_select" %>
 
  23     <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
 
  24       <div class="form-check form-check-inline">
 
  25         <%= radio_button_tag "legale", legale, @legale == legale, :data => { :url => url_for(:legale => legale) }, :class => "form-check-input" %>
 
  26         <label for="legale_<%= legale %>" class="form-check-label">
 
  27           <%= t(".legale_names.#{name}") %>
 
  33   <div id="contributorTerms" class="legale border border-secondary-subtle rounded">
 
  34     <%= render :partial => "terms" %>
 
  38     <p id="contributorGuidance" class="text-body-secondary">
 
  39       <%= t ".guidance_info_html",
 
  40             :readable_summary_link => link_to(t(".readable_summary"),
 
  41                                               "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary"),
 
  42             :informal_translations_link => link_to(t(".informal_translations"),
 
  43                                                    "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations") %>
 
  47     <div class="form-check">
 
  48       <%= check_box_tag "read_ct", "1", false, :class => "form-check-input" %>
 
  49       <label for="read_ct" class="form-check-label">
 
  56     <%= t "layouts.tou" %>
 
  58   <p class="text-body-secondary"><%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %></p>
 
  61     <div class="form-check">
 
  62       <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %>
 
  63       <label for="read_tou" class="form-check-label">
 
  69   <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
 
  72     <%= submit_tag(t(".continue"), :name => "continue", :id => "continue", :disabled => true, :class => "btn btn-primary") %>
 
  73     <%= submit_tag(t(".cancel"), :name => "decline", :id => "decline", :class => "btn btn-outline-secondary") %>
 
  77     <div class="form-check">
 
  78       <%= check_box("user", "consider_pd", :class => "form-check-input") %>
 
  79     <label for="user_consider_pd" class="form-check-label">
 
  80       <%= t ".consider_pd" %>
 
  82     <span class="minorNote">(<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)</span>