[% META title = 'View Docs' %]
<!-- BEGIN [% component.name %] -->
<h1>[% title %]</h1>
[%# PROCESS 'search.tt' -%]
<form action="[% request.uri_for('/new_document') %]" method="post">
<div id="newDocTitle">
<label for="title">Document title:</label>
<input type="text" id="title" name="title">
</div>
<div id="newDocKeywords">
<label for="title">Keywords:</label>
<input type="text" id="keywords" name="keywords">
</div>
<div id="newDocContent">
<textarea id="content" name="content" rows="10" cols="100"
placeholder="Paste text here ..."></textarea>
<div>
<input type="reset" value="Clear" />
<input type="submit" value="Submit">
</div>
</div>
</form>
[% PROCESS 'upload.tt' -%]
<!--
<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>
-->
<!-- END [% component.name %] -->