Sha256: 6ce94ddf76d19e17a9700854f8b252b4287cb7dedf17e2c1f131dd7ccfb885e7

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

<% flash.each do |name, msg| %>
  <% if msg.is_a?(String) %>
    <div class="alert alert-<%= name == :notice ? "success" : "error" %>">
      <a class="close" data-dismiss="alert">&#215;</a>
      <%= content_tag :div, msg, id: "flash_#{name}" %>
    </div>
  <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
invoice_bar-0.0.11 app/views/invoice_bar/layouts/_messages.html.erb
invoice_bar-0.0.10 app/views/invoice_bar/layouts/_messages.html.erb
invoice_bar-0.0.9 app/views/invoice_bar/layouts/_messages.html.erb
invoice_bar-0.0.8 app/views/invoice_bar/layouts/_messages.html.erb
invoice_bar-0.0.7 app/views/invoice_bar/layouts/_messages.html.erb