rend plus robuste la création de l'archive

This commit is contained in:
Christophe Robillard 2021-04-21 16:54:15 +02:00
parent 59a08ad307
commit 8bee53fe77
6 changed files with 62 additions and 24 deletions

View file

@ -52,7 +52,7 @@
%span.icon.retry
= t(:archive_pending_html, created_period: time_ago_in_words(matching_archive.created_at), scope: [:instructeurs, :procedure])
- elsif @dossiers_termines.count > 0
= link_to instructeur_archives_path(@procedure, type: 'everything'), method: :post, class: "button", remote: true do
= link_to instructeur_archives_path(@procedure, type: 'everything'), method: :post, class: "button" do
%span.icon.new-folder
Demander la création
- else