Commit bee27af4 authored by Yogi's avatar Yogi Committed by David O'Regan

Apply gl-form-input for new project milestone form fields

parent 9d9b902a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.col-form-label.col-sm-2 .col-form-label.col-sm-2
= f.label :title, _('Title') = f.label :title, _('Title')
.col-sm-10 .col-sm-10
= f.text_field :title, maxlength: 255, class: 'form-control', data: { qa_selector: 'milestone_title_field' }, required: true, autofocus: true = f.text_field :title, maxlength: 255, class: 'form-control gl-form-input', data: { qa_selector: 'milestone_title_field' }, required: true, autofocus: true
.form-group.row.milestone-description .form-group.row.milestone-description
.col-form-label.col-sm-2 .col-form-label.col-sm-2
= f.label :description, _('Description') = f.label :description, _('Description')
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
.col-form-label.col-sm-2 .col-form-label.col-sm-2
= f.label :start_date, _('Start Date') = f.label :start_date, _('Start Date')
.col-sm-10 .col-sm-10
= f.text_field :start_date, class: "datepicker form-control", data: { qa_selector: "start_date_field" }, placeholder: _('Select start date'), autocomplete: 'off' = f.text_field :start_date, class: "datepicker form-control gl-form-input", data: { qa_selector: "start_date_field" }, placeholder: _('Select start date'), autocomplete: 'off'
%a.inline.float-right.gl-mt-2.js-clear-start-date{ href: "#" }= _('Clear start date') %a.inline.float-right.gl-mt-2.js-clear-start-date{ href: "#" }= _('Clear start date')
.form-group.row .form-group.row
.col-form-label.col-sm-2 .col-form-label.col-sm-2
= f.label :due_date, _('Due Date') = f.label :due_date, _('Due Date')
.col-sm-10 .col-sm-10
= f.text_field :due_date, class: "datepicker form-control", data: { qa_selector: "due_date_field" }, placeholder: _('Select due date'), autocomplete: 'off' = f.text_field :due_date, class: "datepicker form-control gl-form-input", data: { qa_selector: "due_date_field" }, placeholder: _('Select due date'), autocomplete: 'off'
%a.inline.float-right.gl-mt-2.js-clear-due-date{ href: "#" }= _('Clear due date') %a.inline.float-right.gl-mt-2.js-clear-due-date{ href: "#" }= _('Clear due date')
---
title: Apply gl-form-input for fields in new project milestone page
merge_request: 58010
author: Yogi (@yo)
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment