RSS Git Download  Clone
Raw Blame History
[% META title = 'View Docs' %]
[<a href="/logout">Log Out</a>]

<h1>[% title %]</h1>

<div>
  <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>
</div>

<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>