Sha256: dfb58c1c5c0243665bf52c97148dfd2ba67baf12c4038690591caf7b2a42d4ee

Contents?: true

Size: 240 Bytes

Versions: 27

Compression:

Stored size: 240 Bytes

Contents

- f = {notice: (flash[:notice] if flash[:notice]), error: (flash[:error] if flash[:error])}.reject {|k, v| v.blank?}
- unless f.blank?
  #flash_massages.show
    %ul
      - f.each do |type, msg|
        %li{class: type}= msg.to_s.html_safe

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
bhf-0.10.12 app/views/bhf/helper/_flash.html.haml
bhf-0.10.11 app/views/bhf/helper/_flash.html.haml
bhf-0.10.10 app/views/bhf/helper/_flash.html.haml
bhf-0.10.9 app/views/bhf/helper/_flash.html.haml
bhf-0.9.9 app/views/bhf/helper/_flash.html.haml
bhf-0.9.8 app/views/bhf/helper/_flash.haml
bhf-0.9.7 app/views/bhf/helper/_flash.haml
bhf-0.9.6 app/views/bhf/helper/_flash.haml
bhf-0.9.5 app/views/bhf/helper/_flash.haml
bhf-0.9.4 app/views/bhf/helper/_flash.haml
bhf-0.9.3 app/views/bhf/helper/_flash.haml
bhf-0.9.2 app/views/bhf/helper/_flash.haml
bhf-0.9.1 app/views/bhf/helper/_flash.haml
bhf-0.9.0 app/views/bhf/helper/_flash.haml
bhf-0.8.7 app/views/bhf/helper/_flash.haml
bhf-0.8.6 app/views/bhf/helper/_flash.haml
bhf-0.8.5 app/views/bhf/helper/_flash.haml
bhf-0.8.4 app/views/bhf/helper/_flash.haml
bhf-0.8.3 app/views/bhf/helper/_flash.haml
bhf-0.8.2 app/views/bhf/helper/_flash.haml