Sha256: 4e420339d603e02e040a88bb47f3fc2f628f0209d06ff3b90bcd4314fbfd75c3

Contents?: true

Size: 360 Bytes

Versions: 15

Compression:

Stored size: 360 Bytes

Contents

- unless flash.blank?
  - flash.each do |name, msg|
    - class_name = name
    - if name.to_s == "notice"
      - class_name = "success"
    - elsif name.to_s == "warning"
      - class_name = ""
      
    .page_flash#flash.alert.alert-block{:class => "alert-#{class_name}"}
      %a.close{ "data-dismiss" => "alert" , :href=>"#"}
        ×
      = msg

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gluttonberg-core-2.6.4 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.6.3 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.6.2 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.6.1 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.6.0 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.9 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.8 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.7 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.6 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.5 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.4 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.3 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.2 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5.1 app/views/layouts/_flash_messages.html.haml
gluttonberg-core-2.5 app/views/layouts/_flash_messages.html.haml