gitlab-org--gitlab-foss/app/views/import/shared/_errors.html.haml

7 lines
215 B
Text

- if @errors.present?
= render Pajamas::AlertComponent.new(variant: :danger,
dismissible: false,
alert_options: { class: 'gl-mb-5' }) do |c|
= c.body do
- @errors.each do |error|
= error