diff options
| author | Mark Fletcher <mark@gitlab.com> | 2018-06-20 13:53:14 +0100 |
|---|---|---|
| committer | Mark Fletcher <mark@gitlab.com> | 2018-06-20 13:53:14 +0100 |
| commit | ad39bd58497e790140fbeacde414ff869dcc56ca (patch) | |
| tree | 7877a98626552fd77e215e7437414083271ee653 /app | |
| parent | 9092e96abc165ccd76d5b54fcd507c8c989b99ec (diff) | |
| download | gitlab-ce-ad39bd58497e790140fbeacde414ff869dcc56ca.tar.gz | |
Prevent browser autocomplete for milestone date fields
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/shared/milestones/_form_dates.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/milestones/_form_dates.html.haml b/app/views/shared/milestones/_form_dates.html.haml index 608dd35182d..922805958a5 100644 --- a/app/views/shared/milestones/_form_dates.html.haml +++ b/app/views/shared/milestones/_form_dates.html.haml @@ -2,10 +2,10 @@ .form-group.row = f.label :start_date, "Start Date", class: "col-form-label col-sm-2" .col-sm-10 - = f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date" + = f.text_field :start_date, class: "datepicker form-control", placeholder: "Select start date", autocomplete: 'off' %a.inline.float-right.prepend-top-5.js-clear-start-date{ href: "#" } Clear start date .form-group.row = f.label :due_date, "Due Date", class: "col-form-label col-sm-2" .col-sm-10 - = f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date" + = f.text_field :due_date, class: "datepicker form-control", placeholder: "Select due date", autocomplete: 'off' %a.inline.float-right.prepend-top-5.js-clear-due-date{ href: "#" } Clear due date |
