Commit 4ce3ef41deb59e5ff9da6f879c27d65677997477
1 parent
4bfb98dd
Exists in
master
and in
4 other branches
Disable autocomplete for admin/users form
Fixes #2796
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 |