Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Document our templates.

  • Loading branch information...
commit b5152778b934050de03560e6ff52816f3501638d 1 parent c56b506
David E. Wheeler authored
10 lib/MyApp/Templates/HTML.pm
@@ -81,6 +81,16 @@ MyApp::Templates::HTML - HTML templates for MyApp
81 81
82 82 HTML templates for MyApp.
83 83
  84 +=head1 TEMPLATES
  85 +
  86 +=head2 wrapper
  87 +
  88 +Wrapper template called by all page view templates that wraps them in the
  89 +basic structure of the site (logo, nav, footer, etc.). It also handles the
  90 +title of the site, and any status mesage or error message. These must be
  91 +stored under the C<title>, C<status_msg>, and C<error_msg> keys in the args
  92 +hash, respectively.
  93 +
84 94 =head1 SEE ALSO
85 95
86 96 =over
8 lib/MyApp/Templates/HTML/Books.pm
@@ -35,6 +35,14 @@ MyApp::Templates::HTML::Books - HTML::Books templates for MyApp
35 35
36 36 HTML::Books templates for MyApp.
37 37
  38 +=head1 TEMPLATES
  39 +
  40 +=head2 list
  41 +
  42 +Outputs a list of books. There must be a DBI statement handle stored in the
  43 +argument hash under the C<books> key, and from which the title, rating, and
  44 +authors can be fetched for each book.
  45 +
38 46 =head1 SEE ALSO
39 47
40 48 =over

0 comments on commit b515277

Please sign in to comment.
Something went wrong with that request. Please try again.