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({ :action => "save" }) do %>
13 <!-- legale is <%= @legale %> -->
14 <p class="text-muted"><%= t ".read and accept with tou" %></p>
16 <%= t ".heading_ct" %>
18 <p class="text-muted"><%= t ".contributor_terms_explain" %></p>
20 <%= t ".legale_select" %>
22 <div class="form-group">
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">
34 <%= render :partial => "terms" %>
38 <p id="contributorGuidance" class="text-muted">
39 <%= t ".guidance_html",
40 :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary",
41 :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>
44 <div class="form-group">
45 <div class="form-check">
46 <%= check_box_tag "read_ct", "1", false, :class => "form-check-input" %>
47 <label for="read_ct" class="form-check-label">
54 <%= t "layouts.tou" %>
56 <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>
58 <div class="form-group">
59 <div class="form-check">
60 <%= check_box_tag "read_tou", "1", false, :class => "form-check-input" %>
61 <label for="read_tou" class="form-check-label">
67 <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
69 <div class="form-group">
70 <%= submit_tag("Continue", :name => "continue", :id => "continue", :disabled => true, :class => "btn btn-primary") %>
71 <%= submit_tag("Cancel", :name => "decline", :id => "decline", :class => "btn btn-outline-secondary") %>
74 <div class="form-group">
75 <div class="form-check">
76 <%= check_box("user", "consider_pd", :class => "form-check-input") %>
77 <label for="user_consider_pd" class="form-check-label">
78 <%= t ".consider_pd" %>
80 <span class="minorNote">(<%= link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) %>)</span>