Sha256: ae379abcc982fc4ae2146b31479e76e849301656f9a24e2a80d3c00449b4c9cd

Contents?: true

Size: 281 Bytes

Versions: 14

Compression:

Stored size: 281 Bytes

Contents

-# Rails flash messages styled for Bootstrap 2.3
- flash.each do |name, msg|
  - if msg.is_a?(String)
    %div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
      %a.close{"data-dismiss" => "alert"} ×
      = content_tag :div, msg, :id => "flash_#{name}"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rails_layout-1.0.8 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.7 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.6 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.5 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.4 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.3 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.2 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.1 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-1.0.0 lib/generators/layout/install/templates/bootstrap2-messages.html.haml
rails_layout-0.5.11 lib/generators/layout/templates/bootstrap2-messages.html.haml
rails_layout-0.5.10 lib/generators/layout/templates/bootstrap2-messages.html.haml
rails_layout-0.5.9 lib/generators/layout/templates/bootstrap2-messages.html.haml
rails_layout-0.5.8 lib/generators/layout/templates/bootstrap2-messages.html.haml
rails_layout-0.5.7 lib/generators/layout/templates/bootstrap2-messages.html.haml