_mr_box.html.haml 437 Bytes
Newer Older
1 2 3
.gray-content-block.middle-block
  %h2.issue-title
    = gfm escape_once(@merge_request.title)
4

5 6 7 8 9 10 11 12
  %div
    - if @merge_request.description.present?
      .description{class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : ''}
        .wiki
          = preserve do
            = markdown(@merge_request.description)
        %textarea.hidden.js-task-list-field
          = @merge_request.description