demarches-normaliennes/app/views/admin/pieces_justificatives/show.js.erb

4 lines
325 B
Text
Raw Normal View History

<% 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 %>
2015-11-20 14:17:38 +01:00
$('#piece_justificative_form').html("<%= escape_javascript(render partial: 'form', locals: { procedure: @procedure } ) %>");