Skip to content
Snippets Groups Projects
Unverified Commit 9a8ac2ac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Show issuable context labels as blocks

parent a2d188f6
No related branches found
No related tags found
No related merge requests found
= form_for [@project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f|
%div.prepend-top-20
%strong
%p
Assignee:
 
- if can?(current_user, :modify_issue, @issue)
Loading
Loading
@@ -11,7 +11,7 @@
None
 
%div.prepend-top-20
%strong
%p
Milestone:
- if can?(current_user, :modify_issue, @issue)
= f.select(:milestone_id, milestone_options(@issue), { include_blank: "Select milestone" }, {class: 'select2 select2-compact js-select2 js-milestone'})
Loading
Loading
= form_for [@project, @merge_request], remote: true, html: {class: 'edit-merge_request inline-update'} do |f|
%div.prepend-top-20
%strong
%p
Assignee:
 
- if can?(current_user, :modify_merge_request, @merge_request)
Loading
Loading
@@ -11,7 +11,7 @@
None
 
%div.prepend-top-20
%strong
%p
Milestone:
- if can?(current_user, :modify_merge_request, @merge_request)
= f.select(:milestone_id, milestone_options(@merge_request), { include_blank: "Select milestone" }, {class: 'select2 select2-compact js-select2 js-milestone'})
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment