demarches-normaliennes/app/views/users/dossiers/purge_champ_piece_justificative.js.erb

6 lines
236 B
Text
Raw Normal View History

<%= render_flash(timeout: 5000, sticky: true) %>
<%= remove_element("#piece_justificative_#{@champ.id}") %>
let fileInputSelector = '<%= "#champs_#{@champ.id}" %>';
document.querySelector(fileInputSelector).classList.remove('hidden');