2016-07-22 11:34:34 +02:00
|
|
|
<%- if response.status == 404 %>
|
|
|
|
transfer_errors_message(true);
|
|
|
|
<%- else %>
|
2017-06-22 17:53:30 +02:00
|
|
|
$("#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 17:53:30 +02:00
|
|
|
|
2017-06-22 16:46:01 +02:00
|
|
|
$("button#cancel").click();
|
|
|
|
<%- end %>
|