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.3.4 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.3.3 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.3.2 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.3.1 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.3.0 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.9 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.8 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.7 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.6 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.5 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.4 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.3 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.1 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.2.0 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.14 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.13 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.12 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.11 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.10 app/views/layouts/_messages.html.erb
thecore_ui_commons-2.1.9 app/views/layouts/_messages.html.erb