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 %>").observe("change", function () {
16 :before => update_page do |page|
17 page.replace_html 'contributorTerms', image_tag('searching.gif')
19 :url => { :legale => legale }
29 <div id="contributorTerms">
30 <%= render :partial => "terms" %>
33 <%= form_tag({:action => "save"}, { :id => "termsForm" }) do %>
35 <label for="confirm_pd_checkbox"><%= t 'user.terms.consider_pd' %></label>
36 <%= check_box('user', 'consider_pd') %>
37 <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? %>
41 <% if @user.new_record? %>
42 <%= hidden_field('user', 'email') %>
43 <%= hidden_field('user', 'email_confirmation') %>
44 <%= hidden_field('user', 'display_name') %>
45 <%= hidden_field('user', 'pass_crypt') %>
46 <%= hidden_field('user', 'pass_crypt_confirmation') %>
47 <%= hidden_field('user', 'openid_url') %>
50 <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
51 <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>
55 <p id="contributorGuidance"><%= 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>