X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b92e1b058421a6bf49f65f2d45060cfdf197fd1d..7a9e92386e7511061d2c2254919db167ad28bfa3:/app/views/user/login.rhtml diff --git a/app/views/user/login.rhtml b/app/views/user/login.rhtml index 59af16b4f..ff988f070 100644 --- a/app/views/user/login.rhtml +++ b/app/views/user/login.rhtml @@ -2,10 +2,10 @@ Please login or <%= link_to 'create an account', :controller => 'user', :action => 'new' %>.
<% form_tag :action => 'login' do %> -<%= hidden_field_tag('referer', params[:referer]) %> +<%= hidden_field_tag('referer', h(params[:referer])) %> - - + +
email address:<%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %>
password:<%= password_field('user', 'password',{:size => 50, :maxlength => 255}) %>
Email Address or username:<%= text_field('user', 'email',{:size => 50, :maxlength => 255}) %>
Password:<%= password_field('user', 'password',{:size => 50, :maxlength => 255}) %>