2023-07-09 08:55:56 +05:30
|
|
|
.gl-display-flex.gl-mt-7
|
2022-10-11 01:57:18 +05:30
|
|
|
- submit_button_options = { type: :submit, variant: :confirm, button_options: { id: 'commit-changes', class: 'js-commit-button', data: { qa_selector: 'commit_button' } } }
|
|
|
|
= render Pajamas::ButtonComponent.new(**submit_button_options) do
|
|
|
|
= _('Commit changes')
|
|
|
|
= render Pajamas::ButtonComponent.new(loading: true, disabled: true, **submit_button_options.merge({ button_options: { class: 'js-commit-button-loading gl-display-none' } })) do
|
2022-07-23 23:45:48 +05:30
|
|
|
= _('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')
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
= render 'shared/projects/edit_information'
|