Reformat transfer.js.erb
This commit is contained in:
parent
0ea29d131f
commit
12f61b490a
1 changed files with 10 additions and 7 deletions
|
@ -4,8 +4,11 @@
|
||||||
<% flash.each do |type, message| %>
|
<% flash.each do |type, message| %>
|
||||||
$("#flash_message").html("<div class=\"alert alert-success\"> <%= message.html_safe %></div>")
|
$("#flash_message").html("<div class=\"alert alert-success\"> <%= message.html_safe %></div>")
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% flash.clear %>
|
<% flash.clear %>
|
||||||
|
|
||||||
transfer_errors_message(false);
|
transfer_errors_message(false);
|
||||||
|
|
||||||
$("#email_admin").val('');
|
$("#email_admin").val('');
|
||||||
$("button#cancel").click();
|
$("button#cancel").click();
|
||||||
<%- end %>
|
<%- end %>
|
Loading…
Reference in a new issue