Sha256: 868d46dd2aa1c545901ae5f1acb8dfaa74ad440803aec3692f7a9ace691ad9ac

Contents?: true

Size: 356 Bytes

Versions: 13

Compression:

Stored size: 356 Bytes

Contents

-# Rails flash messages styled for Bootstrap 4.0
- flash.each do |name, msg|
  - if msg.is_a?(String)
    %div{:class => "alert alert-#{name.to_s == 'notice' ? 'success' : 'danger'}", :role  => "alert"}
      %button.close{"aria-hidden" => "true", "data-dismiss" => "alert", :type => "button"} ×
      = content_tag :div, msg, :id => "flash_#{name}"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails_layout-1.0.42 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.41 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.40 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.39 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.38 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.37 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.36 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.35 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.34 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.33 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.32 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.31 lib/generators/layout/install/templates/bootstrap4-messages.html.haml
rails_layout-1.0.30 lib/generators/layout/install/templates/bootstrap4-messages.html.haml