Skip to content

Instantly share code, notes, and snippets.

View Florent2's full-sized avatar

Florent Guilleux Florent2

View GitHub Profile
@roberto
roberto / _flash_messages.html.erb
Created August 13, 2012 22:47
Rails flash messages using Twitter Bootstrap
<% flash.each do |type, message| %>
<div class="alert <%= bootstrap_class_for(type) %> fade in">
<button class="close" data-dismiss="alert">×</button>
<%= message %>
</div>
<% end %>
@Florent2
Florent2 / gist:1220951
Last active September 12, 2016 07:28
The technical books I've read