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,17 +11,17 @@ | ||
11 | .clearfix | 11 | .clearfix |
12 | = f.label :name | 12 | = f.label :name |
13 | .input | 13 | .input |
14 | - = f.text_field :name, required: true | 14 | + = f.text_field :name, required: true, autocomplete: "off" |
15 | %span.help-inline * required | 15 | %span.help-inline * required |
16 | .clearfix | 16 | .clearfix |
17 | = f.label :username | 17 | = f.label :username |
18 | .input | 18 | .input |
19 | - = f.text_field :username, required: true | 19 | + = f.text_field :username, required: true, autocomplete: "off" |
20 | %span.help-inline * required | 20 | %span.help-inline * required |
21 | .clearfix | 21 | .clearfix |
22 | = f.label :email | 22 | = f.label :email |
23 | .input | 23 | .input |
24 | - = f.text_field :email, required: true | 24 | + = f.text_field :email, required: true, autocomplete: "off" |
25 | %span.help-inline * required | 25 | %span.help-inline * required |
26 | 26 | ||
27 | %fieldset | 27 | %fieldset |