Commit d6513b5153ae2d8bdfc3017f0cbbe909678dd37c
Exists in
master
and in
4 other branches
Merge pull request #2924 from cdawzrd/patch-2
Disable autocomplete for admin/users form
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/admin/users/_form.html.haml
| ... | ... | @@ -11,17 +11,17 @@ |
| 11 | 11 | .clearfix |
| 12 | 12 | = f.label :name |
| 13 | 13 | .input |
| 14 | - = f.text_field :name, required: true | |
| 14 | + = f.text_field :name, required: true, autocomplete: "off" | |
| 15 | 15 | %span.help-inline * required |
| 16 | 16 | .clearfix |
| 17 | 17 | = f.label :username |
| 18 | 18 | .input |
| 19 | - = f.text_field :username, required: true | |
| 19 | + = f.text_field :username, required: true, autocomplete: "off" | |
| 20 | 20 | %span.help-inline * required |
| 21 | 21 | .clearfix |
| 22 | 22 | = f.label :email |
| 23 | 23 | .input |
| 24 | - = f.text_field :email, required: true | |
| 24 | + = f.text_field :email, required: true, autocomplete: "off" | |
| 25 | 25 | %span.help-inline * required |
| 26 | 26 | |
| 27 | 27 | %fieldset | ... | ... |