gitlab-org--gitlab-foss/app/views/projects/_commit_button.html.haml

9 lines
316 B
Text
Raw Normal View History

.form-actions
2017-04-04 14:06:32 -04:00
= button_tag 'Commit changes', class: 'btn commit-btn js-commit-button btn-create'
= link_to 'Cancel', 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