Sha256: db7d75df1976f2bbb28fbb83f12c9f1b6c7fe5815458e19733cef12ceba7eccd

Contents?: true

Size: 387 Bytes

Versions: 42

Compression:

Stored size: 387 Bytes

Contents

<%# Rails flash messages styled for Bootstrap 3.0 %>
<% flash.each do |name, msg| %>
  <% if msg.is_a?(String) %>
    <div class="alert alert-<%= name.to_s == 'notice' ? 'success' : 'danger' %>">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <%= content_tag :div, msg, :id => "flash_#{name}" %>
    </div>
  <% end %>
<% end %>

Version data entries

42 entries across 42 versions & 8 rubygems

Version Path
borutus-1.0.0 app/views/layouts/borutus/_messages.html.erb
plutus-0.17 app/views/layouts/plutus/_messages.html.erb
plutus-0.16 app/views/layouts/plutus/_messages.html.erb
plutus-0.15 app/views/layouts/plutus/_messages.html.erb
plutus-0.14 app/views/layouts/plutus/_messages.html.erb
borutus-0.2.4 app/views/layouts/borutus/_messages.html.erb
borutus-0.2.3 app/views/layouts/borutus/_messages.html.erb
borutus-0.2.2 app/views/layouts/borutus/_messages.html.erb
tyche-0.14 app/views/layouts/plutus/_messages.html.erb
credere-0.10.3 app/views/layouts/credere/_messages.html.erb
credere-0.10.2 app/views/layouts/credere/_messages.html.erb
credere-0.10.1 app/views/layouts/credere/_messages.html.erb
borutus-0.2.1 app/views/layouts/borutus/_messages.html.erb
borutus-0.2.0 app/views/layouts/borutus/_messages.html.erb
odania_plutus-0.13 app/views/layouts/plutus/_messages.html.erb
borutus-0.1.0 app/views/layouts/borutus/_messages.html.erb
plutus-0.13 app/views/layouts/plutus/_messages.html.erb
rails_layout-1.0.29 lib/generators/layout/install/templates/bootstrap3-messages.html.erb
rails_layout-1.0.28 lib/generators/layout/install/templates/bootstrap3-messages.html.erb
plutus-0.12.2 app/views/layouts/plutus/_messages.html.erb