Sha256: d42aa828d3a162ef07e7deb7b06bc57cd4af7ccad5aeb3ae6601a6d77190b66e

Contents?: true

Size: 417 Bytes

Versions: 3

Compression:

Stored size: 417 Bytes

Contents

<div class="alert alert-dismissable <%= html_class %>" role="alert">
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>

  <%= icon %>

  <div class="alert-content">
    <% if alert[:title] %>
      <h3><%= alert[:title] %></h3>
    <% end %>

    <% if alert[:message] %>
      <p><%= alert[:message] %></p>
    <% end %>

    <%= yield if block_given? %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trestle-0.10.0 app/views/trestle/flash/_alert.html.erb
trestle-0.10.0.pre2 app/views/trestle/flash/_alert.html.erb
trestle-0.10.0.pre app/views/trestle/flash/_alert.html.erb