title: Custom Classes and Formatting on Flash Messages for Twitter Bootstrap defaults
body: <p>I am integrating twitter bootstrap css into my application. Going along just fine,but I don't know how to customize the css and wrappers for my flash messages.</p>
  
  <p>I would like my flash messages to be formatted with the default Bootstrap classes:</p>
  
  <pre><code>    &lt;div class="alert-message error"&gt;
        &lt;a class="close" href="#"&gt;×&lt;/a&gt;
        &lt;p&gt;&lt;strong&gt;Oh snap!&lt;/strong&gt; Change this and that and &lt;a href="#"&gt;try again&lt;/a&gt;.&lt;/p&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Currently I output my flash messages with:</p>
  
  <pre><code>&lt;% flash.each do |name, msg| %&gt;
      &lt;%= content_tag :div, msg, :id =&gt; "flash_#{name}" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Is there an easy way to run a little switch that would make :notification or other rails flash messages map to the classes in bootcamp, like info?</p>