1 <h1><%= t 'user.terms.heading' %></h1>
3 <p><%= t 'user.terms.read and accept' %></p>
5 <!-- legale is <%= @legale %> -->
6 <%= form_tag :action => 'terms' do %>
8 <%= t 'user.terms.legale_select' %>
9 <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name,legale| %>
10 <%= radio_button_tag 'legale', legale, @legale == legale %>
11 <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %>
12 <script type="text/javascript">
14 $("#legale_<%= legale %>").change(function () {
15 $("#contributorTerms").html("<%=j image_tag 'searching.gif' %>");
16 $("#contributorTerms").load("<%= url_for :legale => legale %>");
24 <div id="contributorTerms">
25 <%= render :partial => "terms" %>
28 <%= form_tag({:action => "save"}, { :id => "termsForm" }) do %>
30 <label for="confirm_pd_checkbox"><%= t 'user.terms.consider_pd' %></label>
31 <%= check_box('user', 'consider_pd') %>
32 <span class="minorNote">(<%= link_to(t('user.terms.consider_pd_why'), t('user.terms.consider_pd_why_url'), :target => :new)%>)</span>
35 <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
36 <% if @user.new_record? %>
37 <%= hidden_field('user', 'email') %>
38 <%= hidden_field('user', 'email_confirmation') %>
39 <%= hidden_field('user', 'display_name') %>
40 <%= hidden_field('user', 'pass_crypt') %>
41 <%= hidden_field('user', 'pass_crypt_confirmation') %>
42 <%= hidden_field('user', 'openid_url') %>
45 <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
46 <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>
50 <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>