Show issuable context labels as blocks

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-12-23 10:51:14 +02:00
parent a2d188f688
commit 9a8ac2accc
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
= 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)
@ -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'})

View file

@ -1,6 +1,6 @@
= 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)
@ -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'})