demarches-normaliennes/app/views/instructeurs/procedures/download_export.turbo_stream.haml
2022-05-17 18:34:00 +02:00

7 lines
378 B
Text

- if @can_download_dossiers
- if @statut.nil?
= turbo_stream.update_all '.procedure-actions' do
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports)
- else
= turbo_stream.update_all '.dossiers-export' do
= render Dossiers::ExportComponent.new(procedure: @procedure, exports: @exports, statut: @statut, count: @dossiers_count)