demarches-normaliennes/app/views/admin/procedures/transfer.js.erb

13 lines
399 B
Text
Raw Normal View History

<%- if response.status == 404 %>
transfer_errors_message(true);
<%- else %>
$("#main-container").prepend("<div class='row'><div id='flash_message'></div></div>");
$("#flash_message").prepend("<div class=\"alert alert-success\"> <%= flash.notice.html_safe %></div>");
2017-06-22 16:46:01 +02:00
<% flash.clear %>
transfer_errors_message(false);
$("#email_admin").val('');
2017-06-22 16:46:01 +02:00
$("button#cancel").click();
<%- end %>