debian-mirror-gitlab/app/views/import/shared/_errors.html.haml
2022-07-23 20:15:48 +02:00

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