Sha256: ffa7a35d343ad112e5128b327103e718ef632208e27fa3dd95b1c99ee0ac7657

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

- if !flash.empty?
  .container#flash
    - flash.each do |key, value|
      %div{ :title => key.to_s.humanize, :class => flash_class(key), :role => "alert" }
        %button.close{ "type" => "button", "data-dismiss" => "alert"}
          %span{ "aria-hidden" => "true" } ×
          %span{ "class" => "sr-only" } Close
        %p= value

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
happy_seed-0.0.11 lib/generators/happy_seed/bootstrap/templates/app/views/application/_flashes.html.haml
happy_seed-0.0.10 lib/generators/happy_seed/bootstrap/templates/app/views/application/_flashes.html.haml
happy_seed-0.0.9 lib/generators/happy_seed/bootstrap/templates/app/views/application/_flashes.html.haml