Skip to content

Commit

Permalink
fix layout for showing flash
Browse files Browse the repository at this point in the history
  • Loading branch information
weijen committed May 28, 2011
1 parent 9b00e7b commit e4a9d17
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions handicraft-theme/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
<div id="stickies">
<div class="container_16 clearfix">
<div class="grid_16">
<% flash.each do |type, messages| %>
<% messages.to_a.each do |message| %>
<% flash.each do |type, message| %>
<div class="<%= type %>_stickie">
<%= message %>
<span class="stickies_close_area"><a href="javascript:;">Close</a></span>
</div>
<% end %>
<% end %>
</div>
</div>
Expand Down

0 comments on commit e4a9d17

Please sign in to comment.