Sha256: 064e36ee2c44c06f12ada170e6a1c621a96dbd9f88734290bd8dec7445853405

Contents?: true

Size: 309 Bytes

Versions: 14

Compression:

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

14 entries across 14 versions & 1 rubygems

Version Path
orats-0.9.7 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.6 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.5 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.4 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.3 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.2 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.1 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.9.0 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.8.1 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.8.0 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.7.3 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.7.2 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.7.1 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb
orats-0.7.0 lib/orats/templates/includes/new/rails/app/views/layouts/_flash.html.erb