summaryrefslogtreecommitdiff
path: root/app/views/projects/_commit_button.html.haml
blob: 395e8a6917cf9a6fbc1a7fffc64e259e97d5e24c (plain)
1
2
3
4
5
6
7
8
.form-actions
  = button_tag '提交修改', class: 'btn commit-btn js-commit-button btn-create'
  = link_to '取消', cancel_path,
            class: 'btn btn-cancel', data: {confirm: leave_edit_message}

  - unless can?(current_user, :push_code, @project)
    .inline.prepend-left-10
      = commit_in_fork_help