Sha256: 4058af824abc1f117ce85babb776888b4c74ee2855d3c913469fefb1ba8509a3

Contents?: true

Size: 268 Bytes

Versions: 14

Compression:

Stored size: 268 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.slim
rails_layout-1.0.7 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.6 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.5 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.4 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.3 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.2 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.1 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-1.0.0 lib/generators/layout/install/templates/bootstrap2-messages.html.slim
rails_layout-0.5.11 lib/generators/layout/templates/bootstrap2-messages.html.slim
rails_layout-0.5.10 lib/generators/layout/templates/bootstrap2-messages.html.slim
rails_layout-0.5.9 lib/generators/layout/templates/bootstrap2-messages.html.slim
rails_layout-0.5.8 lib/generators/layout/templates/bootstrap2-messages.html.slim
rails_layout-0.5.7 lib/generators/layout/templates/bootstrap2-messages.html.slim