<div class="context-main-bg context-main p-3">
    <legend class="text-center">Contact Forms</legend>
    <hr>
    {ADMIN_BREADCRUMBS}
	<form action="{ROOT_URL}admin/contact/delete" method="post">
		<table class="table table-striped">
			<thead>
				<tr>
					<th style="width: 5%">ID</th>
					<th style="width: 25%">Time</th>
					<th style="width: 55%">Feedback</th>
					<th style="width: 5%"></th>
					<th style="width: 5%"></th>
					<th style="width: 5%">
						<input type="checkbox" onchange="checkAll(this)" name="check.f" value="F_[]">
					</th>
				</tr>
			</thead>
			<tbody>
				{LOOP}
				<tr>
					<td>{ID}</td>
					<td>{DTC}{time}{/DTC}</td>
					<td>{feedback}</td>
					<td><a href="{ROOT_URL}admin/contact/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
					<td><a href="{ROOT_URL}admin/contact/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
					<td>
						<input type="checkbox" value="{ID}" name="F_[]">
					</td>
				</tr>
				{/LOOP}
				{ALT}
				<tr>
					<td align="center" colspan="6">
						No results to show.
					</td>
				</tr>
				{/ALT}
			</tbody>
		</table>
		<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
	</form>
	<br>
	<a href="{ROOT_URL}admin/contact/clear">clear all</a>
</div>