X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e09b187cae178c000a683635d408cab72dc3d35b..0ec2843b0f660a0442ee0d82fa4879c86c8d06ec:/app/views/user/terms.html.erb diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 3e93ff20c..849005274 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -3,29 +3,29 @@

<%= t 'user.terms.read and accept' %>

-<% form_tag :action => 'terms' do %> +<%= form_tag :action => 'terms' do %>

<%= t 'user.terms.legale_select' %> <% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name,legale| %> - <%= - radio_button_tag 'legale', legale, @legale == legale, - :onchange => remote_function( - :before => update_page do |page| - page.replace_html 'contributorTerms', image_tag('searching.gif') - end, - :url => {:legale => legale, :has_decline => @user.new_record?} - ) - %> + <%= radio_button_tag 'legale', legale, @legale == legale %> <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %> + <% end %>

<% end %>
- <%= render :partial => "terms", :locals => { :has_decline => @user.new_record? } %> + <%= render :partial => "terms" %>
-<% form_tag({:action => "save"}, { :id => "termsForm" }) do %> +<%= form_tag({:action => "save"}, { :id => "termsForm" }) do %>

<%= check_box('user', 'consider_pd') %> @@ -42,10 +42,10 @@ <%= hidden_field('user', 'openid_url') %> <% end %>

- <% if @user.new_record? %> - <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %> - <% end %> + <%= submit_tag(t('user.terms.decline'), :name => "decline", :id => "decline") %> <%= submit_tag(t('user.terms.agree'), :name => "agree", :id => "agree") %>

+
+

<%= 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' %>

<% end %>