-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33a2527
commit 268cac8
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[% # This is a TT comment. The '-' at the end "chomps" the newline. You won't -%] | ||
[% # see this "chomping" in your browser because HTML ignores blank lines, but -%] | ||
[% # it WILL eliminate a blank line if you view the HTML source. It's purely -%] | ||
[%- # optional, but both the beginning and the ending TT tags support chomping. -%] | ||
|
||
[% # Provide a title -%] | ||
[% META title = 'Book List' -%] | ||
|
||
<table> | ||
<tr><th>Title</th><th>Rating</th><th>Author(s)</th></tr> | ||
[% # Display each book in a table row %] | ||
[% FOREACH book IN books -%] | ||
<tr> | ||
<td>[% book.title %]</td> | ||
<td>[% book.rating %]</td> | ||
<td></td> | ||
</tr> | ||
[% END -%] | ||
</table> | ||
|