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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d3388d47
Commit
d3388d47
authored
Oct 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New label link
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d2808476
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
app/views/projects/_issuable_form.html.haml
app/views/projects/_issuable_form.html.haml
+8
-2
No files found.
app/views/projects/_issuable_form.html.haml
View file @
d3388d47
...
...
@@ -49,14 +49,20 @@
-
else
%span
.light
No open milestones available.
=
link_to
'Create new milestone'
,
new_project_milestone_path
=
link_to
'Create new milestone'
,
new_project_milestone_path
(
issuable
.
project
)
.form-group
=
f
.
label
:label_ids
,
class:
'control-label'
do
%i
.icon-tag
Labels
.col-sm-10
-
if
issuable
.
project
.
labels
.
any?
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2'
-
else
%span
.light
No labels yet.
=
link_to
'Create new label'
,
new_project_label_path
(
issuable
.
project
)
.form-actions
-
if
issuable
.
new_record?
=
f
.
submit
"Submit new
#{
issuable
.
class
.
model_name
.
human
.
downcase
}
"
,
class:
'btn btn-create'
...
...
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