Sha256: 81d63ec40d695641336cd70e068fe82bad9db3df730539d62f6f2ed2390cb620
Contents?: true
Size: 561 Bytes
Versions: 2
Compression:
Stored size: 561 Bytes
Contents
- if flash.any? - flash.each do |name, msg| - if [String, Array].include?(msg.class) - message = msg.is_a?(Array) ? msg.join('<br>').html_safe : msg div [ class="alert customize-alert alert-dismissible alert-light-#{name.to_s == 'notice' ? 'success' : 'danger'} text-danger fade show" role="alert" ] button.btn-close aria-label="Close" data-bs-dismiss="alert" type="button" .d-flex.align-items-center.font-weight-medium i.text-danger.fill-white.feather-sm.me-2 data-feather="info" = message
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_material_admin-0.1.9 | app/views/shared/_flash_messages.html.slim |
rails_material_admin-0.1.8 | app/views/shared/_flash_messages.html.slim |