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 <div class='form-row horizontal-list'>
13 <label class="standard-label">
14 <%= t '.legale_select' %>
17 <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name, legale| %>
18 <div class="form-row">
19 <label for="legale_<%= legale %>">
20 <%= radio_button_tag 'legale', legale, @legale == legale, :data => { :url => url_for(:legale => legale) } %>
21 <%= t('.legale_names.' + name) %>
27 <div id="contributorTerms" class="col12 legale">
28 <%= render :partial => "terms" %>
31 <div class="form-row">
32 <label for="user_consider_pd">
33 <%= check_box('user', 'consider_pd') %>
34 <%= t '.consider_pd' %>
36 <span class="minorNote">(<%= link_to(t('.consider_pd_why'), t('.consider_pd_why_url'), :target => :new)%>)</span>
38 <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
40 <div class="buttons form-row inner20 clearfix">
41 <p class="deemphasize"><%= t '.read and accept' %></p>
42 <%= submit_tag(t('.agree'), :name => "agree", :id => "agree") %>
43 <%= submit_tag(t('.decline'), :name => "decline", :id => "decline") %>
46 <div class="deemphasize">
47 <p id="contributorGuidance">
48 <%= raw t '.guidance',
49 :summary => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary',
50 :translations => 'https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>