demarches-normaliennes/app/views/admin/pieces_justificatives/show.js.erb
2016-06-08 16:45:37 +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 } ) %>");