Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_commit_button.html.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 952c6daf4158dd99a5703a9e939620069895bb65 (plain)
1
2
3
4
5
6
7
8
.form-actions.gl-display-flex
  = render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, button_options: { id: 'commit-changes', class: 'js-commit-button', data: { qa_selector: 'commit_button' } }) do
    = _('Commit changes')

  = 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')

  = render 'shared/projects/edit_information'