summaryrefslogtreecommitdiff
path: root/app/views/projects/_fork_suggestion.html.haml
blob: 0b616a0c1ce59c82efa382f0791b01a4c40ef8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
- if current_user
  .js-file-fork-suggestion-section.file-fork-suggestion.hidden
    %span.file-fork-suggestion-note
      You're not allowed to
      %span.js-file-fork-suggestion-section-action
        edit
      files in this project directly. Please fork this project,
      make your changes there, and submit a merge request.
    = link_to 'Fork', nil, method: :post, class: 'js-fork-suggestion-button btn btn-grouped btn-inverted btn-success'
    %button.js-cancel-fork-suggestion-button.btn.btn-grouped{ type: 'button' }
      Cancel