Sha256: ed9d48f817b8b8e40208d7398f0b862db3c24ad62cc6ab216f2400e6bab8b4a8

Contents?: true

Size: 143 Bytes

Versions: 76

Compression:

Stored size: 143 Bytes

Contents

<% flash.each do |name, msg| %>
  <% if msg.is_a?(String) %>
    <%= content_tag :div, msg, :class => "flash_#{name}" %>
  <% end %>
<% end %>

Version data entries

76 entries across 76 versions & 3 rubygems

Version Path
grape-swagger-rails-0.6.0 spec/dummy/app/views/layouts/_messages.html.erb
grape-swagger-rails-0.5.1 spec/dummy/app/views/layouts/_messages.html.erb
grape-swagger-rails-0.5.0 spec/dummy/app/views/layouts/_messages.html.erb
grape-swagger-rails-0.4.0 spec/dummy/app/views/layouts/_messages.html.erb
grape-swagger-rails-0.3.1 spec/dummy/app/views/layouts/_messages.html.erb
rails_layout-1.0.42 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.41 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.40 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.39 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.38 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.37 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.36 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.35 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.34 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.33 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.32 lib/generators/layout/install/templates/simple-messages.html.erb
grape-swagger-rails-0.3.0 spec/dummy/app/views/layouts/_messages.html.erb
rails_layout-1.0.31 lib/generators/layout/install/templates/simple-messages.html.erb
rails_layout-1.0.30 lib/generators/layout/install/templates/simple-messages.html.erb
grape-swagger-rails-0.2.2 spec/dummy/app/views/layouts/_messages.html.erb