Sha256: 84382ce3f6fb33a6e04a06cba482ae260b3c10fab782463363c80df4b567450b

Contents?: true

Size: 343 Bytes

Versions: 34

Compression:

Stored size: 343 Bytes

Contents

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
rails_layout-1.0.42 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.41 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.40 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.39 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.38 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.37 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.36 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.35 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.34 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.33 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.32 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.31 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.30 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.29 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.28 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.27 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.26 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.25 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.24 lib/generators/layout/install/templates/bootstrap2-messages.html.erb
rails_layout-1.0.23 lib/generators/layout/install/templates/bootstrap2-messages.html.erb