1 <% content_for :head do %>
2 <%= javascript_include_tag "user" %>
5 <% content_for :heading_class, "header-illustration-heading" %>
6 <% content_for :heading do %>
7 <h1><%= t ".heading" %></h1>
8 <div class='header-illustration new-user-terms'></div>
11 <%= form_tag({ :action => "save" }) do %>
12 <!-- legale is <%= @legale %> -->
13 <p class="text-muted"><%= t ".read and accept with tou" %></p>
15 <%= t ".heading_ct" %>
17 <p class="text-muted"><%= t ".contributor_terms_explain" %></p>
19 <%= t ".legale_select" %>
21 <div class="form-group">
22 <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
23 <div class="form-check form-check-inline">
24 <%= radio_button_tag "legale", legale, @legale == legale, :data => { :url => url_for(:legale => legale) }, :class => "form-check-input" %>
25 <label for="legale_<%= legale %>" class="form-check-label">
26 <%= t(".legale_names.#{name}") %>
32 <div id="contributorTerms" class="legale">
33 <%= render :partial => "terms" %>
37 <p id="contributorGuidance" class="text-muted">
38 <%= t ".guidance_html",
39 :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary",
40 :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>
43 <div class="form-group">
44 <div class="form-check">
45 <%= check_box_tag "read_ct", "1", false, :class => "form-check-input" %>
46 <label for="read_ct" class="form-check-label">
53 <%= t "layouts.tou" %>
55 <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>
57 <div class="form-group">
58 <div class="form-check">
59 <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %>
60 <label for="read_tou" class="form-check-label">
66 <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
68 <div class="form-group">
69 <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true, :class => "btn btn-primary") %>
70 <%= submit_tag("Cancel", :name => "decline", :id => "decline", :class => "btn btn-outline-secondary") %>
73 <div class="form-group">
74 <div class="form-check">
75 <%= check_box("user", "consider_pd", :class => "form-check-input") %>
76 <label for="user_consider_pd" class="form-check-label">
77 <%= t ".consider_pd" %>
79 <span class="minorNote">(<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)</span>