X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/836e926e629a140fcdbb4b8489dc2caba5018439..ae844f3260d65feaf4f827c0ede20905b1cfd036:/app/views/user/terms.html.erb?ds=inline diff --git a/app/views/user/terms.html.erb b/app/views/user/terms.html.erb index 049e07ca7..5160716d1 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 %> @@ -33,11 +33,13 @@<%= 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 %>