[% META title = 'View Docs' %]
<a href="/">Home</a> <a href="/logout">Log Out</a>
<h1>[% title %]</h1>
<center>
<form action="[% testimonials_url %]" method="post">
<textarea id="userReview" name="userReview" rows="8" cols="50"
placeholder="Please enter your testimonial here ..."></textarea>
<div>
<input type="reset" value="Clear" />
<input type="submit" value="Publish">
</div>
</form>
</center>
<table width="100%" align="center" border="1" cellspacing="0" cellpadding="0">
<tr>
<th>Testimonials</th>
</tr>
[% USE date(format = '%d/%m/%Y @ %H:%M') %]
[% FOREACH t IN testimonials %]
<tr>
<td>
<div>[% t.testimonial %][%# t.published_on %]</div>
<div style="text-align: right;">
<i>[% t.published_by %] on [% date.format(t.published_on) %]</i>
</div>
</td>
</tr>
[% END %]
</table>