Skip to content

Instantly share code, notes, and snippets.

@JoshTGreenwood
JoshTGreenwood / _flash_messages.html.erb
Last active January 1, 2016 08:29 — forked from roberto/_flash_messages.html.erb
Flash messages for Bootstrap 3.
<% flash.each do |type, message| %>
<div class="alert <%= bootstrap_class_for(type) %> fade in">
<button class="close" data-dismiss="alert">×</button>
<%= message %>
</div>
<% end %>