Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bee27af4
Commit
bee27af4
authored
Apr 27, 2021
by
Yogi
Committed by
David O'Regan
Apr 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply gl-form-input for new project milestone form fields
parent
9d9b902a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/projects/milestones/_form.html.haml
app/views/projects/milestones/_form.html.haml
+1
-1
app/views/shared/milestones/_form_dates.html.haml
app/views/shared/milestones/_form_dates.html.haml
+2
-2
changelogs/unreleased/gl-form-new-milestone.yml
changelogs/unreleased/gl-form-new-milestone.yml
+5
-0
No files found.
app/views/projects/milestones/_form.html.haml
View file @
bee27af4
...
@@ -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'
)
...
...
app/views/shared/milestones/_form_dates.html.haml
View file @
bee27af4
...
@@ -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'
)
changelogs/unreleased/gl-form-new-milestone.yml
0 → 100644
View file @
bee27af4
---
title
:
Apply gl-form-input for fields in new project milestone page
merge_request
:
58010
author
:
Yogi (@yo)
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment