summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/conflicts/_diff_file_editor.html.haml
blob: 497db7e3f9b83ba58d63940208ee9424aaff80d1 (plain)
1
2
3
4
5
6
7
8
.diff-editor-wrap{ "v-show" => "file.showEditor" }
  .discard-changes-alert-wrap{ "v-if" => "file.promptDiscardConfirmation" }
    .discard-changes-alert
      Are you sure to discard your changes?
      .discard-actions
        %button.btn.btn-sm.btn-close{ "@click" => "acceptDiscardConfirmation(file)" } Discard changes
        %button.btn.btn-sm{ "@click" => "cancelDiscardConfirmation(file)" } Cancel
  %diff-file-editor{":file" => "file"}