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" }, { :class => " inner22 standard-form fillL" }) do %>
11 <!-- legale is <%= @legale %> -->
12 <p class="deemphasize"><%= t '.read and accept with tou' %></p>
13 <label class="standard-label">
14 <%= t '.heading_ct' %>
16 <div class='form-row horizontal-list'>
17 <p class="deemphasize"><%= t '.contributor_terms_explain' %></p>
18 <label class="standard-label">
19 <%= t ".legale_select" %>
22 <% [%w[france FR], %w[italy IT], %w[rest_of_world GB]].each do |name, legale| %>
23 <div class="form-row">
24 <label for="legale_<%= legale %>">
25 <%= radio_button_tag "legale", legale, @legale == legale, :data => { :url => url_for(:legale => legale) } %>
26 <%= t(".legale_names." + name) %>
32 <div id="contributorTerms" class="col12 legale">
33 <%= render :partial => "terms" %>
36 <div class="deemphasize">
37 <p id="contributorGuidance">
38 <%= raw t '.guidance',
39 :summary => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary',
40 :translations => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>
44 <label class="standard-label">
45 <%= t 'layouts.tou' %>
47 <p class="deemphasize"><%= t '.tou_explain' %></p>
48 <div class="form-row">
49 <label for="read_tou">
50 <%= check_box_tag 'read_tou',1,false %>
51 <%= t '.read_tou_html', :tou_link => link_to(t('layouts.tou'), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new) %>
54 <%= hidden_field_tag("referer", h(params[:referer])) unless params[:referer].nil? %>
56 <div class="buttons form-row inner20 clearfix">
57 <%= submit_tag(t('.agree'), :name => "agree", :id => "agree", disabled: true) %>
58 <%= submit_tag(t('.decline'), :name => "decline", :id => "decline") %>
61 <label for="user_consider_pd">
62 <%= check_box('user', 'consider_pd') %>
63 <%= t '.consider_pd' %>
65 <span class="minorNote">(<%= link_to(t('.consider_pd_why'), t('.consider_pd_why_url'), :target => :new)%>)</span>