X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/67292724441a7a447a9ea579a36dee64825dedaf..c3453cf57df864b008dca6479f84504f81c0b131:/app/views/user/terms.html.erb diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 049e07ca7..3b3585199 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -1,6 +1,6 @@
<%= t 'user.terms.press accept button' %>
+<%= t 'user.terms.read and accept' %>
<% form_tag :action => 'terms' do %> @@ -13,7 +13,7 @@ :before => update_page do |page| page.replace_html 'contributorTerms', image_tag('searching.gif') end, - :url => {:legale => legale} + :url => {:legale => legale, :has_decline => params.has_key?(:user)} ) %> <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %> @@ -22,7 +22,7 @@ <% end %><%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %> - <%= hidden_field('user', 'email') %> - <%= hidden_field('user', 'email_confirmation') %> - <%= hidden_field('user', 'display_name') %> - <%= hidden_field('user', 'pass_crypt') %> - <%= hidden_field('user', 'pass_crypt_confirmation') %> + <% if params[:user] %> + <%= hidden_field('user', 'email') %> + <%= hidden_field('user', 'email_confirmation') %> + <%= hidden_field('user', 'display_name') %> + <%= hidden_field('user', 'pass_crypt') %> + <%= hidden_field('user', 'pass_crypt_confirmation') %> + <% end %>