debian-mirror-gitlab/app/views/projects/_commit_button.html.haml

9 lines
316 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.form-actions
2015-12-23 02:04:40 +05:30
= button_tag 'Commit Changes', class: 'btn commit-btn js-commit-button btn-create'
2015-04-26 12:48:37 +05:30
= 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