Sha256: 219f9a01c5d95804c9527285be6940bfb4acd149c7fceb74743797757a616e9b

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

<div class="alert alert-dismissable <%= html_class %>" role="alert">
  <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></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.9.8 app/views/trestle/flash/_alert.html.erb
trestle-0.9.7 app/views/trestle/flash/_alert.html.erb
trestle-0.9.6 app/views/trestle/flash/_alert.html.erb