Skip to content

Commit

Permalink
[webui] Disable browser autocomplete on sign up form
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel authored and adrianschroeter committed May 14, 2013
1 parent ec1cf37 commit 70373e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webui/app/views/shared/_sign_up.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<% else %>
<%= form_tag({:controller => 'user', :action => 'register', :method => :post}, { :class => 'sign-up' }) do %>
<p>
<%= text_field_tag 'login', nil, :placeholder => 'Username' %><br/>
<%= text_field_tag 'email', nil, :placeholder => 'Email address' %><br/>
<%= password_field_tag :password, nil, :id => 'pwd', :placeholder => 'Enter a password' %><br />
<%= text_field_tag 'login', nil, :placeholder => 'Username', :autocomplete => 'off' %><br/>
<%= text_field_tag 'email', nil, :placeholder => 'Email address', :autocomplete => 'off' %><br/>
<%= password_field_tag :password, nil, :id => 'pwd', :placeholder => 'Enter a password', :autocomplete => 'off' %><br />
<%= hidden_field_tag 'register', 'true' %>
</p>
<p><%= submit_tag "Sign Up" %></p>
Expand Down

0 comments on commit 70373e7

Please sign in to comment.