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

Version Path
headmin-0.6.3 app/views/headmin/_notifications.html.erb
headmin-0.6.2 app/views/headmin/_notifications.html.erb
headmin-0.6.1 app/views/headmin/_notifications.html.erb
headmin-0.6.0 app/views/headmin/_notifications.html.erb
headmin-0.5.9 app/views/headmin/_notifications.html.erb
headmin-0.5.8 app/views/headmin/_notifications.html.erb
headmin-0.5.7 app/views/headmin/_notifications.html.erb
headmin-0.5.6 app/views/headmin/_notifications.html.erb
headmin-0.5.5 app/views/headmin/_notifications.html.erb
headmin-0.5.4 app/views/headmin/_notifications.html.erb
headmin-0.5.3 app/views/headmin/_notifications.html.erb
headmin-0.5.1 app/views/headmin/_notifications.html.erb
headmin-0.5.0 app/views/headmin/_notifications.html.erb
headmin-0.4.2 app/views/headmin/_notifications.html.erb
headmin-0.4.1 app/views/headmin/_notifications.html.erb
headmin-0.4.0 app/views/headmin/_notifications.html.erb
headmin-0.3.4 app/views/headmin/_notifications.html.erb
headmin-0.3.3 app/views/headmin/_notifications.html.erb
headmin-0.3.2 app/views/headmin/_notifications.html.erb
headmin-0.3.1 app/views/headmin/_notifications.html.erb