diff options
author | Vaughan Rouesnel <vrouesnel@gmail.com> | 2012-11-18 13:38:42 +1100 |
---|---|---|
committer | Vaughan Rouesnel <vrouesnel@gmail.com> | 2012-11-18 13:38:42 +1100 |
commit | 763f8d0e4f52600bc39f501085c878e18e3325c6 (patch) | |
tree | d0e7bc4409b78b9218bf1a6bebfece51be8d8b7e | |
parent | 685938f1d736c54663011274ca563ba94d0e49b0 (diff) |
Disable auto-complete for signup fields to fix a bug with Chrome auto-filling.
-rw-r--r-- | app/views/user/_signup.rhtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/user/_signup.rhtml b/app/views/user/_signup.rhtml index bb93b9617..bbb73e5c6 100644 --- a/app/views/user/_signup.rhtml +++ b/app/views/user/_signup.rhtml @@ -16,7 +16,7 @@ <p> <label class="form_label" for="user_signup_name"> <%= _('Your name:')%></label> - <%= text_field 'user_signup', 'name', { :size => 20, :tabindex => 70 } %> + <%= text_field 'user_signup', 'name', { :size => 20, :tabindex => 70, :autocomplete => "off" } %> </p> <div class="form_item_note"> <%= _('Your <strong>name will appear publicly</strong> @@ -28,12 +28,12 @@ <p> <label class="form_label" for="user_signup_password"> <%= _('Password:')%></label> - <%= password_field 'user_signup', 'password', { :size => 15, :tabindex => 80 } %> + <%= password_field 'user_signup', 'password', { :size => 15, :tabindex => 80, :autocomplete => "off" } %> </p> <p> <label class="form_label" for="user_signup_password_confirmation"> <%= _('Password: (again)')%></label> - <%= password_field 'user_signup', 'password_confirmation', { :size => 15, :tabindex => 90 } %> + <%= password_field 'user_signup', 'password_confirmation', { :size => 15, :tabindex => 90, :autocomplete => "off" } %> </p> <% if @request_from_foreign_country %> |