Sha256: aba91be5d5a5b135132d061e127c01691dd7c78e537e60238b7758e31059d857
Contents?: true
Size: 728 Bytes
Versions: 20
Compression:
Stored size: 728 Bytes
Contents
<% # headmin/notifications # # ==== Examples # Basic version # <%= render "headmin/notifications" %#> %> <div class="toast-container position-absolute top-0 end-0 p-3"> <% flash.each do |name, message| %> <div class="toast align-items-center text-white show <%= notification_color(name.to_sym)[:background] %>" role="alert" aria-live="assertive" aria-atomic="true" data-controller="toast"> <div class="d-flex"> <div class="toast-body <%= notification_color(name.to_sym)[:text] %>"> <%= message %> </div> <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button> </div> </div> <% end %> </div>
Version data entries
20 entries across 20 versions & 1 rubygems