X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6c2089da2d555d7209ae4d7d25f6e64ac3f6c6f0..5777c5e925acf5317f221073368ab8d81b10fd05:/app/views/user/terms.html.erb diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 3b3585199..5160716d1 100644 --- a/app/views/user/terms.html.erb +++ b/app/views/user/terms.html.erb @@ -13,7 +13,7 @@ :before => update_page do |page| page.replace_html 'contributorTerms', image_tag('searching.gif') end, - :url => {:legale => legale, :has_decline => params.has_key?(:user)} + :url => {:legale => legale} ) %> <%= label_tag "legale_#{legale}", t('user.terms.legale_names.' + name) %> @@ -22,7 +22,7 @@ <% end %>
- <%= render :partial => "terms", :locals => { :has_decline =>params.has_key?(:user) } %> + <%= render :partial => "terms" %>
<% form_tag({:action => "save"}, { :id => "termsForm" }) do %> @@ -41,9 +41,7 @@ <%= hidden_field('user', 'pass_crypt_confirmation') %> <% end %>
- <% if params[:user] %> - <%= 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") %>