fix(view_component): use new slot name

This commit is contained in:
simon lehericey 2024-01-08 11:22:38 +01:00
parent aa1eb5b46b
commit 560c2d763c
33 changed files with 49 additions and 49 deletions

View file

@ -1,7 +1,7 @@
- if export.present?
%div{ data: export.pending? ? { controller: "turbo-poll", turbo_poll_url_value: polling_last_export_instructeur_procedure_path(export_format: export.format, statut: statut), turbo_poll_interval_value: 5_000, turbo_poll_max_checks_value: 6 } : {} }
= render Dsfr::AlertComponent.new(state: :info, size: :sm, extra_class_names: 'fr-my-2w') do |c|
- c.body do
- c.with_body do
%p
- if export.pending?
= t('instructeurs.procedures.last_export_pending')

View file

@ -10,7 +10,7 @@
= form_for @assign_to, url: update_email_notifications_instructeur_procedure_path(@procedure), html: { class: 'form' } do |form|
= render Dsfr::AlertComponent.new(state: :info, size: :sm, extra_class_names: 'fr-mb-2w') do |c|
- c.body do
- c.with_body do
%p
= t('.subtitle')

View file

@ -17,7 +17,7 @@
- if @exports.any?{_1.format == Export.formats.fetch(:zip)}
= render Dsfr::AlertComponent.new(title: t('.title_zip'), state: :info, extra_class_names: 'fr-mb-3w') do |c|
- c.body do
- c.with_body do
%p= t('.export_description_zip_html')
- else