Commit 4bf7dbacfdc80515faa516d393d6a9319e659e3c
1 parent
e6e45763
Exists in
master
and in
1 other branch
Turn off autocomplete for user profile form.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/users/edit.html.haml
1 | 1 | - content_for :title, "Edit #{@user.name}" |
2 | 2 | - content_for :action_bar, link_to('cancel', user_path(@user), :class => 'button') |
3 | 3 | |
4 | -= form_for @user do |f| | |
4 | += form_for @user, :html => {:autocomplete => "off"} do |f| | |
5 | 5 | = @user.errors.full_messages.to_sentence |
6 | 6 | = render 'fields', :f => f |
7 | 7 | ... | ... |