Sha256: be958cabbe098d6fcb810d0c5f1eb6f64f0934de6b4d5977e69da33f03db1705

Contents?: true

Size: 251 Bytes

Versions: 9

Compression:

Stored size: 251 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
astrochimp-0.2.5 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.2.4 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.2.3 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.2.2 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.2.1 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.2.0 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.1.3 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.1.2 app/views/layouts/astrochimp/_messages.html.erb
astrochimp-0.1.0 app/views/layouts/astrochimp/_messages.html.erb