Sha256: eee066a835fac7c1e65149f4559e2ab8403043ac2bcdb177c53bf95d6e47ca76
Contents?: true
Size: 500 Bytes
Versions: 19
Compression:
Stored size: 500 Bytes
Contents
notice_div = $('.flash.notice'); <% notice = flash.delete(:notice) if notice %> if (notice_div.length > 0) { notice_div.html("<%= notice %>"); notice_div.show(); } else { if ($("#content .toolbar").length > 0) { $("#content .toolbar").before('<div class="flash notice"><%= notice %></div>'); } else { $("#content h1").before('<div class="flash notice"><%= notice %></div>'); } } <% end %> <%= render(:partial => "/admin/shared/update_order_state") if @order %>
Version data entries
19 entries across 19 versions & 6 rubygems