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| %>
11 radio_button_tag 'legale', legale, @legale == legale,
12 :onchange => remote_function(
13 :before => update_page do |page|
14 page.replace_html 'contributorTerms', image_tag('searching.gif')
16 :url => {:legale => legale}
19 <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %>
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 params[:user] %>
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') %>
44 <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %>
45 <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>