diff --git a/app/views/projects/issues/_issue_context.html.haml b/app/views/projects/issues/_issue_context.html.haml index d443aae43acea603bd007d9e46a089af7282b23f..98777a58f9d7e03872f91007775f57849153ea14 100644 --- a/app/views/projects/issues/_issue_context.html.haml +++ b/app/views/projects/issues/_issue_context.html.haml @@ -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'}) diff --git a/app/views/projects/merge_requests/show/_context.html.haml b/app/views/projects/merge_requests/show/_context.html.haml index d4b6434b17199a8d84f398c59a50f9e28fe65ccf..5b6e64f06573bf2a057e04eade0823c98894d3c2 100644 --- a/app/views/projects/merge_requests/show/_context.html.haml +++ b/app/views/projects/merge_requests/show/_context.html.haml @@ -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'})