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

9 lines
516 B
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
.form-actions.gl-display-flex
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, button_options: { id: 'commit-changes', class: 'js-commit-button qa-commit-button' }) do
= _('Commit changes')
2020-04-08 14:13:33 +05:30
2022-07-23 23:45:48 +05:30
= render Pajamas::ButtonComponent.new(href: cancel_path, button_options: { class: 'gl-ml-3', id: 'cancel-changes', aria: { label: _('Discard changes') }, data: { confirm: leave_edit_message, confirm_btn_variant: "danger" } }) do
= _('Cancel')
2018-03-27 19:54:05 +05:30
= render 'shared/projects/edit_information'