X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..9c0d5277adfde9f7daee0b0c83d4e68dd331e905:/app/views/user/terms.html.erb diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index db052bb24..849005274 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -7,16 +7,16 @@

<%= 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} - ) - %> + <%= radio_button_tag 'legale', legale, @legale == legale %> <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %> + <% end %>

<% end %> @@ -47,5 +47,5 @@


-

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

+

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