1 <% content_for :heading do %>
2 <h1><%= t 'user.terms.heading' %></h1>
6 <div class="directions">
7 <p><%= t 'user.terms.read and accept' %></p>
9 <!-- legale is <%= @legale %> -->
10 <%= form_tag :action => 'terms' do %>
11 <p><%= t 'user.terms.legale_select' %></p>
13 <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name,legale| %>
14 <%= radio_button_tag 'legale', legale, @legale == legale %>
15 <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %>
16 <script type="text/javascript">
18 $("#legale_<%= legale %>").change(function () {
19 $("#contributorTerms").html("<%=j image_tag 'searching.gif' %>");
20 $("#contributorTerms").load("<%= url_for :legale => legale %>");
28 <div id="contributorTerms" class="legale">
29 <%= render :partial => "terms" %>
32 <%= form_tag({:action => "save"}, { :class => "sign" }) do %>
34 <label for="confirm_pd_checkbox"><%= t 'user.terms.consider_pd' %></label>
35 <%= check_box('user', 'consider_pd') %>
36 <span class="minorNote">(<%= link_to(t('user.terms.consider_pd_why'), t('user.terms.consider_pd_why_url'), :target => :new)%>)</span>
38 <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
39 <div class="signing-buttons buttons">
40 <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>
41 <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
43 <p id="contributorGuidance"><%= raw t 'user.terms.guidance', :summary => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary', :translations => 'http://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations' %></p>