2018-09-13 17:13:09 +02:00
|
|
|
<%= render_flash %>
|
|
|
|
<%= render_to_element('.state-button', partial: "state_button", locals: { dossier: dossier }) %>
|
2019-05-22 12:00:05 +02:00
|
|
|
|
|
|
|
<% attachment = dossier.justificatif_motivation.attachment %>
|
|
|
|
<% if attachment && attachment.virus_scanner.pending? %>
|
|
|
|
<%= fire_event('attachment:update', { url: attachment_url(attachment.id, { signed_id: attachment.blob.signed_id }) }.to_json ) %>
|
|
|
|
<% end %>
|