Sha256: 1f8c36531ca7e8241121f952ed6793407555cffcdc7c92610a226c335e88dfa1

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

-# Partial for displaying flash messages (usually notifications for the success or failure of a user action) in the page head.
-# origin: RM

- flash.each do |level, value|
  %div{:class => "flash #{h level}"}
    = h value

- if flash.any?
  :javascript
    setTimeout(function() {
      $('.flash').fadeOut(400);
    }, 1800);
    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serum-rails-0.2.1 spec/test_apps/rails-2-3/app/views/layouts/_flashes.html.haml
serum-rails-0.2.0 spec/test_apps/rails-2-3/app/views/layouts/_flashes.html.haml
serum-rails-0.1.1 spec/test_app/app/views/layouts/_flashes.html.haml
serum-rails-0.1.0 spec/test_app/app/views/layouts/_flashes.html.haml