Skip to content
blizz edited this page Sep 12, 2010 · 21 revisions

polymorhic: <index-page for=“[ModelName]”>
table{border:1px solid black}.
|.Attribute|.Description|.Default Value|.Example|

Parameter Tag Description Default Content
body <body> page body
content <content>   <content-header> <content-body>
content-header <header>   <heading> <count>
heading <h2> page heading [Model Name]
count <p> page heading There are (count) (model names)
content-body <section>   <a> <top-page-nav> <collection> <bottom-page-nav>
top-page-nav <page-nav> navigation control
bottom-page-nav <page-nav> navigation control
collection <collection> list of records

Here is what an autogenerated tag looks like


<def tag="index-page" for="Project"> <page merge title="Projects"> <body: class="index-page project" param/>

Projects

There


This inherits (right word?) from base polymorphic index-page tag defined in rapid_generics.dryml


<def tag="index-page" polymorphic/>
Clone this wiki locally