RSS Git Download  Clone
Raw Blame History
[% META title = 'View Docs' %]
<!-- BEGIN [% component.name %] -->
<h1>[% title %]</h1>

[%# PROCESS 'search.tt' -%]

<form action="[% request.uri_for('/new_document') %]" method="post">
	<div class="input-group flex-nowrap">
	  <span class="input-group-text col-md-2 id="title">Title</span>
	  <input type="text" class="form-control" placeholder="" aria-label="title"
		name="title" required="true">
	</div>

	<div class="input-group flex-nowrap">
	  <span class="input-group-text col-md-2" id="keywords">Keywords</span>
	  <input type="text" class="form-control" placeholder="comma-separated list"
		aria-label="keywords" name="keywords" required="true">
	</div>

	<div class="mb-3">
	  <label for="content" class="form-label">Content</label>
	  <textarea class="form-control" id="content" rows="5" name="content"
			required="true" ></textarea>
	</div>
	<div>
		<button type="submit" class="btn btn-outline-primary">Submit</button>
	</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 %] -->