Sha256: f6d4cc0cfcbfdb6b332ee3920ea34205d9c53a6207a8f43bfdaa94c5cb085171

Contents?: true

Size: 302 Bytes

Versions: 16

Compression:

Stored size: 302 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

16 entries across 16 versions & 1 rubygems

Version Path
how_to-2.0.5 app/views/layouts/how_to/_messages.html.erb
how_to-2.0.4 app/views/layouts/how_to/_messages.html.erb
how_to-2.0.3 app/views/layouts/how_to/_messages.html.erb
how_to-2.0.2 app/views/layouts/how_to/_messages.html.erb
how_to-2.0.1 app/views/layouts/how_to/_messages.html.erb
how_to-2.0.0 app/views/layouts/how_to/_messages.html.erb
how_to-1.0.3 app/views/layouts/how_to/_messages.html.erb
how_to-1.0.2 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.8 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.7 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.6 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.5 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.4 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.3 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.2 app/views/layouts/how_to/_messages.html.erb
how_to-0.0.1 app/views/layouts/how_to/_messages.html.erb