Sha256: 6a878c547ff61bc55ba6e6a47027a867259e7a6446c515608dac7ccab8688b31
Contents?: true
Size: 704 Bytes
Versions: 10
Compression:
Stored size: 704 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"> <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
10 entries across 10 versions & 1 rubygems