add new export template link

This commit is contained in:
Christophe Robillard 2024-03-12 13:44:22 +01:00 committed by simon lehericey
parent 5aac2ecdc4
commit 4a79ecf301
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -18,3 +18,6 @@
- menu.with_item do - menu.with_item do
= link_to download_export_path(export_template_id: export_template.id), role: 'menuitem', data: { turbo_method: :post, turbo: true } do = link_to download_export_path(export_template_id: export_template.id), role: 'menuitem', data: { turbo_method: :post, turbo: true } do
= "Exporter à partir du modèle #{export_template.name}" = "Exporter à partir du modèle #{export_template.name}"
- menu.with_item do
= link_to new_instructeur_export_template_path(procedure_id: params[:procedure_id]), role: 'menuitem' do
Ajouter un modèle d'export