Sha256: 85e893fa73aea91f27a04148308fa4528c59430491ea257c47e7d99d76528a6c

Contents?: true

Size: 362 Bytes

Versions: 57

Compression:

Stored size: 362 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 == "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

57 entries across 57 versions & 6 rubygems

Version Path
thecore_ui_commons-2.1.8 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.7 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.6 app/views/layouts/_messages.html.erb
thecore_ui_rails_admin-2.1.4 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.2.1 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.2.0 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.9 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.8 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.7 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.5 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.4 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.2 app/views/layouts/_messages.html.erb
thecore_ui_layout_taris_website-1.1.1 app/views/layouts/_messages.html.erb
railsbricks-3.7.0 lib/railsbricks/foundation/app/views/layouts/_messages.html.erb
railsbricks-reloaded-3.2.1 lib/railsbricks/foundation/app/views/layouts/_messages.html.erb
phoenixbricks-3.2.7 lib/railsbricks/foundation/app/views/layouts/_messages.html.erb
phoenixbricks-3.2.6 lib/railsbricks/foundation/app/views/layouts/_messages.html.erb