Sha256: 53204aa8c5022cc7a726b0a49fe666bb4dde9592e35ff36ebfffbb1977e700d3

Contents?: true

Size: 308 Bytes

Versions: 13

Compression:

Stored size: 308 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'}"
      button.close[type="button" data-dismiss="alert" aria-hidden="true"] ×
      = 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.slim
rails_layout-1.0.41 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.40 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.39 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.38 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.37 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.36 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.35 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.34 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.33 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.32 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.31 lib/generators/layout/install/templates/bootstrap4-messages.html.slim
rails_layout-1.0.30 lib/generators/layout/install/templates/bootstrap4-messages.html.slim