Sha256: 83e61db991ef9373968196129cc0d4029dddd75253b450d6d9a131617f9db64e
Contents?: true
Size: 369 Bytes
Versions: 8
Compression:
Stored size: 369 Bytes
Contents
<div id="flash" style="display:none"> <%= flash[:notice] if flash[:notice] %> <%= flash[:alert] if flash[:alert] %> </div> <% if request.xhr? && (flash[:notice] || flash[:alert]) %> <script> $("#flash").slideDown("fast"); setTimeout(function() { $("#flash").slideUp("fast") }, 10000); //wait 10 seconds and then slide up </script> <% end%>
Version data entries
8 entries across 8 versions & 1 rubygems