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

polymorhic: <show-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>   <parent-link> <heading> <edit-link>
parent-link <a:[model_name]> edit link “[name]”
heading <h2> page heading name
edit-link <a> edit link “Edit My [model name]”
content-body <section>   <field-list>
field-list <field-list> model fields

Here is what an autogenerated tag looks like


<def tag="show-page" for="Project"> <page merge title="Project">

Edit Project

Project Owners


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


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