1 <% content_for :heading do %>
2 <h1><%= t 'user.terms.heading' %></h1>
3 <div class='header-illustration new-user-terms'></div>
6 <%= form_tag({:action => "save"}, { :class => " inner22 standard-form fillL" }) do %>
7 <!-- legale is <%= @legale %> -->
8 <div class='form-row horizontal-list'>
9 <label class="standard-label">
10 <%= t 'user.terms.legale_select' %>
13 <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name, legale| %>
14 <div class="form-row">
15 <label for="legale_<%= legale %>">
16 <%= radio_button_tag 'legale', legale, @legale == legale %>
17 <%= t('user.terms.legale_names.' + name) %>
20 $("#legale_<%= legale %>").change(function () {
21 $("#contributorTerms").html("<%=j image_tag 'searching.gif' %>");
22 $("#contributorTerms").load("<%= url_for :legale => legale %>");
29 <div id="contributorTerms" class="col12 legale">
30 <%= render :partial => "terms" %>
33 <div class="form-row">
34 <label for="user_consider_pd">
35 <%= check_box('user', 'consider_pd') %>
36 <%= t 'user.terms.consider_pd' %>
38 <span class="minorNote">(<%= link_to(t('user.terms.consider_pd_why'), t('user.terms.consider_pd_why_url'), :target => :new)%>)</span>
40 <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
42 <div class="buttons form-row inner20 clearfix">
43 <p class="deemphasize"><%= t 'user.terms.read and accept' %></p>
44 <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>
45 <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
48 <div class="deemphasize">
49 <p id="contributorGuidance">
50 <%= raw t 'user.terms.guidance',
51 :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary',
52 :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %>