Sha256: 737bf747e047787ba70986856f4ad0d4e96a6f11ab69aa57c97448c6d56f0d66
Contents?: true
Size: 785 Bytes
Versions: 6
Compression:
Stored size: 785 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_to_class(flash_type) - when 'danger' .bi.bi-exclamation-triangle-fill.me-2 - when 'warning' .bi.bi-exclamation-circle.me-2 - when 'success' .bi.bi-check-lg.me-2 - when 'info' .bi.bi-info-circle.me-2 = message button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"
Version data entries
6 entries across 6 versions & 1 rubygems