Skip to content

Commit

Permalink
Rapid pages -- fixes to auto css classes on <show-collection-page>
Browse files Browse the repository at this point in the history
  • Loading branch information
tslocke committed Jun 11, 2008
1 parent b364815 commit a73b4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/taglibs/rapid_pages.dryml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
<def tag="show-collection-page">
<% title = "#{this.origin_attribute.to_s.titleize} for #{name(:with => this.origin)}" %>
<page title="&title" merge>
<body: class="show-collection-page #{type_name(:with => this.origin)} #{type_name(:pluralize => true)}" param/>
<body: class="show-collection-page #{type_name(:with => this.origin, :dasherize => true)} #{type_name(:plural => true, :dasherize => true)}" param/>
<content-header: param>
<nav param="back-to">Back to <a:origin/></nav>
<h2 param><%= title %></h2>
Expand Down

0 comments on commit a73b4bd

Please sign in to comment.