Reformat transfer.js.erb

This commit is contained in:
gregoirenovel 2017-06-22 16:46:01 +02:00
parent 0ea29d131f
commit 12f61b490a

View file

@ -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 %>