1 <% content_for :head do %>
2 <%= javascript_include_tag "user" %>
5 <% content_for :heading do %>
6 <h1><%= t ".heading" %></h1>
7 <div class='header-illustration new-user-terms'></div>
10 <%= form_tag({ :action => "save" }) do %>
11 <!-- legale is <%= @legale %> -->
12 <p class="text-muted"><%= t ".read and accept with tou" %></p>
14 <%= t ".heading_ct" %>
16 <p class="text-muted"><%= t ".contributor_terms_explain" %></p>
18 <%= t ".legale_select" %>
20 <div class="form-group">
21 <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
22 <div class="form-check form-check-inline">
23 <%= radio_button_tag "legale", legale, @legale == legale, :data => { :url => url_for(:legale => legale) }, :class => "form-check-input" %>
24 <label for="legale_<%= legale %>" class="form-check-label">
25 <%= t(".legale_names.#{name}") %>
31 <div id="contributorTerms" class="legale">
32 <%= render :partial => "terms" %>
36 <p id="contributorGuidance" class="text-muted">
37 <%= t ".guidance_html",
38 :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary",
39 :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>
42 <div class="form-group">
43 <div class="form-check">
44 <%= check_box_tag "read_ct", "1", false, :class => "form-check-input" %>
45 <label for="read_ct" class="form-check-label">
52 <%= t "layouts.tou" %>
54 <p class="text-muted"><%= t ".tou_explain_html", :tou_link => link_to(t("layouts.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %></p>
56 <div class="form-group">
57 <div class="form-check">
58 <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %>
59 <label for="read_tou" class="form-check-label">
65 <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
67 <div class="form-group">
68 <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true, :class => "btn btn-primary") %>
69 <%= submit_tag("Cancel", :name => "decline", :id => "decline", :class => "btn btn-outline-secondary") %>
72 <div class="form-group">
73 <div class="form-check">
74 <%= check_box("user", "consider_pd", :class => "form-check-input") %>
75 <label for="user_consider_pd" class="form-check-label">
76 <%= t ".consider_pd" %>
78 <span class="minorNote">(<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)</span>