Skip to content

Instantly share code, notes, and snippets.

@forced-request
Created March 25, 2014 21:56
Show Gist options
  • Save forced-request/9772288 to your computer and use it in GitHub Desktop.
Save forced-request/9772288 to your computer and use it in GitHub Desktop.
<body>
<% flash.each do |name, msg| -%>
<%= content_tag :div, msg, class: name %>
<% end -%>
<%= yield %>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment