The view template takes some objects (usually just one) from objects and displays the object's properties in a table.
view
objects
The view template also displays a list of other objects related to the first one via has_many style relationships; this is done by calling the related_accessors method - see "related_accessors" in Model - to return a list of has-many accessors. Next it calls each of those accessors, and displays the results in a table.
has_many
related_accessors
#%] <br /><a href="[%base%]/[%object.table%]/list">Back to listing</a> [% view_related(object); %]
[% button(object, "edit"); button(object, "delete"); %] [% INCLUDE footer %]
To install Maypole, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Maypole
CPAN shell
perl -MCPAN -e shell install Maypole
For more information on module installation, please visit the detailed CPAN module installation guide.