Skip to content

Commit

Permalink
removed <%= ' with-flash-messages' if aside_collections %> from secti…
Browse files Browse the repository at this point in the history
…on content-body

it was duplicating the flash message when the show-page has an aside collection
  • Loading branch information
ddnexus authored and bryanlarsen committed Nov 22, 2010
1 parent 8c70d4a commit 2ae2f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dryml_generators/rapid/pages.dryml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ end
<% end -%>
</header>

<section param="content-body"<%= ' with-flash-messages' if aside_collections %>>
<section param="content-body">
<% if main_content -%>
<view:<%= main_content %> param="description"/>
<% end -%>
Expand Down

0 comments on commit 2ae2f03

Please sign in to comment.