diff options
Diffstat (limited to 'app/views/shared/form_elements')
-rw-r--r-- | app/views/shared/form_elements/_apply_template_warning.html.haml | 4 | ||||
-rw-r--r-- | app/views/shared/form_elements/_description.html.haml | 2 |
2 files changed, 3 insertions, 3 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") diff --git a/app/views/shared/form_elements/_description.html.haml b/app/views/shared/form_elements/_description.html.haml index a87aa8de679..2c46b2191c6 100644 --- a/app/views/shared/form_elements/_description.html.haml +++ b/app/views/shared/form_elements/_description.html.haml @@ -21,7 +21,7 @@ classes: 'note-textarea rspec-issuable-form-description', placeholder: placeholder, supports_quick_actions: supports_quick_actions, - qa_selector: 'issuable_form_description' + qa_selector: 'issuable_form_description_field' = render 'shared/notes/hints', supports_quick_actions: supports_quick_actions .clearfix .error-alert |