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

9 lines
316 B
Text
Raw Normal View History

.form-actions
2015-12-02 08:38:14 -05: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