Sha256: 406f666a33f19cae177147aebe7754609bdee5fceb6c8f0feaae39c8ad244700

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

<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

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.1.2 app/views/headmin/_notifications.html.erb
headmin-0.1.1 app/views/headmin/_notifications.html.erb