Sha256: 2cc4f8c860358e663cf25b115f0f6fea2f46bec7335a65dff82f4c7eed362a9e

Contents?: true

Size: 275 Bytes

Versions: 9

Compression:

Stored size: 275 Bytes

Contents

<% flash.each do |name, msg| %>
  <div class="alert alert-<%= name == "notice" ? "success" : "danger" %>">
    <button aria-hidden="true" class="close" data-dismiss="alert" type="button">×</button>
    <%= content_tag :div, msg, :id => "flash_#{name}" %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
anadea-spark-0.5.0 templates/views/application/_flashes.html.erb
anadea-spark-0.4.4 templates/views/application/_flashes.html.erb
anadea-spark-0.4.3 templates/views/application/_flashes.html.erb
anadea-spark-0.4.2 templates/views/application/_flashes.html.erb
anadea-spark-0.4.1 templates/views/application/_flashes.html.erb
anadea-spark-0.4.0 templates/views/application/_flashes.html.erb
anadea-spark-0.3.2 templates/views/application/_flashes.html.erb
anadea-spark-0.3.1 templates/views/application/_flashes.html.erb
anadea-spark-0.3.0 templates/views/application/_flashes.html.erb