X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..ef7825ce0cf5a745c97547ad7d27b7034ad0b459:/app/views/user/new.html.erb?ds=sidebyside diff --git a/app/views/user/new.html.erb b/app/views/user/new.html.erb index 6ac85560d..8b1dab5be 100644 --- a/app/views/user/new.html.erb +++ b/app/views/user/new.html.erb @@ -19,6 +19,7 @@ <%= error_messages_for 'user' %> <% form_tag :action => 'save' do %> +<%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
<%= t 'user.new.email address' %><%= text_field('user', 'email',{:size => 50, :maxlength => 255, :tabindex => 1}) %>
<%= t 'user.new.confirm email address' %><%= text_field('user', 'email_confirmation',{:size => 50, :maxlength => 255, :tabindex => 2}) %>