Sha256: a769d63b2444f7ca9c8fb6b522d268d350d135b1e41c4f902c1cd3683a4bd9d1
Contents?: true
Size: 873 Bytes
Versions: 3
Compression:
Stored size: 873 Bytes
Contents
/ slim-lint:disable LineLength - flash_to_show = flash.select { |fm| fm[0].to_sym.in?(ApplicationController._flash_types) && fm[1].present? } / slim-lint:enable LineLength - flash_to_show.each do |flash_type, message| .alert.alert-dismissible[ class="mt-2 d-flex align-items-center alert-#{flash_type_to_class(flash_type)}" data-turbo-temporary="true" aria-live="assertive" aria-atomic="true" role="alert" ] - case flash_type - when 'critical' / .bi.bi-emoji-dizzy.me-3.fs-2 .bi.bi-exclamation-triangle-fill.me-3.fs-2 - when 'alert' .bi.bi-exclamation-triangle-fill.me-2 - when 'warning' .bi.bi-exclamation-circle.me-2 - when 'success' .bi.bi-check-lg.me-2 - when 'notice' .bi.bi-info-circle.me-2 = message button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"
Version data entries
3 entries across 3 versions & 1 rubygems