2022-07-21 20:05:05 +02:00
|
|
|
-# not renderable as instructeur flagged as manager, so render it anyway
|
2022-05-11 16:11:34 +02:00
|
|
|
- if @can_download_dossiers
|
2022-05-17 17:54:41 +02:00
|
|
|
- if @statut.nil?
|
|
|
|
= turbo_stream.update_all '.procedure-actions' do
|
2023-09-13 13:01:57 +02:00
|
|
|
= render Dossiers::ExportDropdownComponent.new(procedure: @procedure, export_url: method(:download_export_instructeur_procedure_path))
|
2022-05-17 17:54:41 +02:00
|
|
|
- else
|
|
|
|
= turbo_stream.update_all '.dossiers-export' do
|
2023-09-13 13:01:57 +02:00
|
|
|
= render Dossiers::ExportDropdownComponent.new(procedure: @procedure, statut: @statut, count: @dossiers_count, export_url: method(:download_export_instructeur_procedure_path))
|