demarches-normaliennes/app/views/admin/pieces_justificatives/show.js.erb
2017-04-20 10:35:53 +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:\"> <%= message.html_safe %></div>").children().fadeOut(5000)
<% end %>
$('#piece_justificative_form').html("<%= escape_javascript(render partial: 'form', locals: { procedure: @procedure } ) %>");