Commit 15401ecf authored by Samantha Ming's avatar Samantha Ming

Migrate blob alert to use global_alert partial

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/325366
parent ce100feb
......@@ -15,7 +15,10 @@
#{ dropzone_text.html_safe }
%br
.dropzone-alerts.gl-alert.gl-alert-danger.gl-mb-5.data{ style: "display:none" }
= render 'shared/global_alert',
variant: :danger,
alert_class: 'dropzone-alerts gl-alert gl-alert-danger gl-mb-5 data gl-display-none',
dismissible: false
= render 'shared/new_commit_form', placeholder: placeholder, ref: local_assigns[:ref]
......
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