summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
blob: 62c9748c5102257b8a6f8eca4c256531a467fb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.form-horizontal.resolve-conflicts-form
  .form-group
    %label.col-sm-2.control-label{ "for" => "commit-message" }
      Commit message
    .col-sm-10
      .commit-message-container
        .max-width-marker
        %textarea.form-control.js-commit-message#commit-message{ "v-model" => "conflictsData.commitMessage", "rows" => "5" }
  .form-group
    .col-sm-offset-2.col-sm-10
      .row
        .col-xs-6
          %button.btn.btn-success.js-submit-button{ type: "button", "@click" => "commit()", ":disabled" => "!readyToCommit" }
            %span {{commitButtonText}}
        .col-xs-6.text-right
          = link_to "Cancel", namespace_project_merge_request_path(@merge_request.project.namespace, @merge_request.project, @merge_request), class: "btn btn-cancel"