Posted By

javierarce on 03/26/08


Tagged

textmate rails flash ruby ror notice


Versions (?)

Mostrar contenido de flash


 / Published in: Other
 

  1. <% unless flash.blank? %>
  2. <div id="flash">
  3. <% flash.each do |key, msg| %>
  4. <%= content_tag(:div, msg, :id => key) %>
  5. <% end %>
  6. </div>
  7. <% end %>

Report this snippet  

You need to login to post a comment.