demarches-normaliennes/app/views/admin/pieces_justificatives/show.js.erb
2017-07-13 10:14:16 +02:00

4 lines
326 B
Text

<% flash.each do |type, message| %>
$("#flash_message").html("<div class=\"alert alert-success move-up\" style=\"display: block:\"> <%= sanitize(message) %></div>").children().fadeOut(5000)
<% end %>
$('#piece_justificative_form').html("<%= escape_javascript(render partial: 'form', locals: { procedure: @procedure } ) %>");