2017-11-28 10:24:36 +01:00
|
|
|
- if procedure.dossiers.state_not_brouillon.any?
|
2018-09-11 17:51:44 +02:00
|
|
|
%span.dropdown
|
|
|
|
%button.button.dropdown-button
|
|
|
|
Télécharger tous les dossiers
|
2017-11-28 10:24:36 +01:00
|
|
|
.dropdown-content.fade-in-down
|
|
|
|
%ul.dropdown-items
|
|
|
|
%li
|
2019-03-05 18:16:13 +01:00
|
|
|
= link_to "Au format .csv", download_dossiers_gestionnaire_procedure_path(format: :csv, procedure_id: procedure.id), target: "_blank", rel: "noopener"
|
2017-11-28 10:24:36 +01:00
|
|
|
%li
|
2019-03-05 18:16:13 +01:00
|
|
|
= link_to "Au format .xlsx", download_dossiers_gestionnaire_procedure_path(format: :xlsx, procedure_id: procedure.id, tables: [:etablissements]), target: "_blank", rel: "noopener"
|
2017-11-28 10:24:36 +01:00
|
|
|
%li
|
2019-03-05 18:16:13 +01:00
|
|
|
= link_to "Au format .ods", download_dossiers_gestionnaire_procedure_path(format: :ods, procedure_id: procedure.id, tables: [:etablissements]), target: "_blank", rel: "noopener"
|