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
f2a41b0c
Commit
f2a41b0c
authored
Jan 23, 2021
by
Yogi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply new GitLab UI for input field in admin/labels
parent
062788e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/admin/labels/_form.html.haml
app/views/admin/labels/_form.html.haml
+3
-3
No files found.
app/views/admin/labels/_form.html.haml
View file @
f2a41b0c
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
.col-sm-2.col-form-label
.col-sm-2.col-form-label
=
f
.
label
:title
=
f
.
label
:title
.col-sm-10
.col-sm-10
=
f
.
text_field
:title
,
class:
"form-control"
,
required:
true
=
f
.
text_field
:title
,
class:
"form-control
gl-form-input
"
,
required:
true
.form-group.row
.form-group.row
.col-sm-2.col-form-label
.col-sm-2.col-form-label
=
f
.
label
:description
=
f
.
label
:description
.col-sm-10
.col-sm-10
=
f
.
text_field
:description
,
class:
"form-control js-quick-submit"
=
f
.
text_field
:description
,
class:
"form-control
gl-form-input
js-quick-submit"
.form-group.row
.form-group.row
.col-sm-2.col-form-label
.col-sm-2.col-form-label
=
f
.
label
:color
,
_
(
"Background color"
)
=
f
.
label
:color
,
_
(
"Background color"
)
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
.input-group
.input-group
.input-group-prepend
.input-group-prepend
.input-group-text.label-color-preview
.input-group-text.label-color-preview
=
f
.
text_field
:color
,
class:
"form-control"
=
f
.
text_field
:color
,
class:
"form-control
gl-form-input
"
.form-text.text-muted
.form-text.text-muted
=
_
(
'Choose any color.'
)
=
_
(
'Choose any color.'
)
%br
%br
...
...
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