Commit 4838bc49 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch '354592-migrate-to-shared-alert-in-label-page-create' into 'master'

Migrate to shared alert in label_page_create

See merge request gitlab-org/gitlab!82998
parents 6b02a494 6c458fd2
...@@ -6,10 +6,7 @@ ...@@ -6,10 +6,7 @@
.dropdown-page-two.dropdown-new-label .dropdown-page-two.dropdown-new-label
= dropdown_title(create_label_title(subject), options: { back: true, close: show_close }) = dropdown_title(create_label_title(subject), options: { back: true, close: show_close })
= dropdown_content do = dropdown_content do
.js-label-error.gl-alert.gl-alert-danger.gl-mb-3 = render 'shared/global_alert', variant: :danger, alert_class: 'js-label-error gl-mb-3', dismissible: false
.gl-alert-container
= sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-content
%input#new_label_name.default-dropdown-input{ type: "text", placeholder: _('Name new label') } %input#new_label_name.default-dropdown-input{ type: "text", placeholder: _('Name new label') }
.suggest-colors.suggest-colors-dropdown .suggest-colors.suggest-colors-dropdown
= render_suggested_colors = render_suggested_colors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment