summaryrefslogtreecommitdiff
path: root/app/views/projects/_fork_suggestion.html.haml
blob: c855bfaf06789ad1d94a516541657b7e3f24d2b4 (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-new'
    %button.js-cancel-fork-suggestion-button.btn.btn-grouped{ type: 'button' }
      Cancel