Sha256: 3270661693733fd96aa8722d5fc69510255c1a6289fd10c5430ea735a5d9ceb2

Contents?: true

Size: 310 Bytes

Versions: 10

Compression:

Stored size: 310 Bytes

Contents

<% flash.each do |key, msg| %>
  <% unless key == :timedout %>
    <%= content_tag :div, class: "alert alert-dismissable alert-#{key}" do -%>
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">
        &times;
      </button>
      <%= msg %>
    <% end %>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
orats-5.2.3 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.2.2 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.2.1 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.2.0 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.1.2 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.1.1 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.0.3 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.0.2 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.0.1 lib/orats/templates/base/app/views/layouts/_flash.html.erb
orats-5.0.0 lib/orats/templates/base/app/views/layouts/_flash.html.erb