Sha256: 70d687498040a9b4752f83c58750d82993f883b8999456f91e3db96238c1e5b5

Contents?: true

Size: 231 Bytes

Versions: 19

Compression:

Stored size: 231 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
bhf-0.7.9 app/views/bhf/helper/_flash.haml
bhf-0.7.8 app/views/bhf/helper/_flash.haml
bhf-0.7.7 app/views/bhf/helper/_flash.haml
bhf-0.7.5 app/views/bhf/helper/_flash.haml
bhf-0.7.4 app/views/bhf/helper/_flash.haml
bhf-0.7.3 app/views/bhf/helper/_flash.haml
bhf-0.7.2 app/views/bhf/helper/_flash.haml
bhf-0.7.1 app/views/bhf/helper/_flash.haml
bhf-0.7.0.rc3 app/views/bhf/helper/_flash.haml
bhf-0.7.0.rc2 app/views/bhf/helper/_flash.haml
bhf-0.7.0.rc1 app/views/bhf/helper/_flash.haml
bhf-0.6.32 app/views/bhf/helper/_flash.haml
bhf-0.6.31 app/views/bhf/helper/_flash.haml
bhf-0.6.30 app/views/bhf/helper/_flash.haml
bhf-0.6.29 app/views/bhf/helper/_flash.haml
bhf-0.6.28 app/views/bhf/helper/_flash.haml
bhf-0.6.27 app/views/bhf/helper/_flash.haml
bhf-0.6.26 app/views/bhf/helper/_flash.haml
bhf-0.6.25 app/views/bhf/helper/_flash.haml