demarches-normaliennes/app/views/users/dossiers/purge_champ_piece_justificative.js.erb
2019-03-25 10:56:39 +01:00

5 lines
236 B
Text

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