BigW Consortium Gitlab

_commit_button.html.haml 316 Bytes
Newer Older
1
.form-actions
2
  = button_tag 'Commit Changes', class: 'btn commit-btn js-commit-button btn-create'
3 4
  = link_to 'Cancel', cancel_path,
            class: 'btn btn-cancel', data: {confirm: leave_edit_message}
5 6 7 8

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