diff options
Diffstat (limited to 'app/views/shared/form_elements/_apply_template_warning.html.haml')
-rw-r--r-- | app/views/shared/form_elements/_apply_template_warning.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/form_elements/_apply_template_warning.html.haml b/app/views/shared/form_elements/_apply_template_warning.html.haml index ca1d3d53f16..131c450ddd7 100644 --- a/app/views/shared/form_elements/_apply_template_warning.html.haml +++ b/app/views/shared/form_elements/_apply_template_warning.html.haml @@ -7,7 +7,7 @@ %p = _("Applying a template will replace the existing issue description. Any changes you have made will be lost.") - %button.js-override-template.btn.gl-button.btn-confirm.mr-2{ type: 'button' } + = render Pajamas::ButtonComponent.new(variant: :confirm, button_options: { class: 'gl-mr-3 js-override-template' }) do = _("Apply template") - %button.js-close-btn.js-cancel-btn.btn.gl-button.btn-default{ type: 'button' } + = render Pajamas::ButtonComponent.new(button_options: { class: 'js-close-btn js-cancel-btn' }) do = _("Cancel") |