create a method to extend and restore

This commit is contained in:
Lisa Durand 2024-07-23 15:06:23 +02:00
parent ae1a6e1b3d
commit b820577461
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816
8 changed files with 27 additions and 16 deletions

View file

@ -1,6 +1,6 @@
- if hidden_by_administration && hidden_by_expired
%li
= button_to repousser_expiration_instructeur_dossier_path(procedure_id, dossier_id), method: :patch, class: "fr-btn fr-icon-refresh-line" do
= button_to repousser_expiration_and_restore_instructeur_dossier_path(procedure_id, dossier_id), method: :patch, class: "fr-btn fr-icon-refresh-line" do
= t('views.instructeurs.dossiers.restore_and_extend')
- elsif hidden_by_administration