<div class="context-main-bg context-main p-3">
    <legend class="text-center">Errors</legend>
    <hr>
    {ADMIN_BREADCRUMBS}
    <form action="{ROOT_URL}admin/errors/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%">Description</th>
                    <th style="width: 5%"></th>
                    <th style="width: 5%"></th>
                    <th style="width: 5%">
                        <input type="checkbox" onchange="checkAll(this)" name="check.e" value="E_[]">
                    </th>
                </tr></thead><tbody>
                {LOOP}
                <tr>
                    <td align="center">{ID}</td>
                    <td align="center">{DTC}{time}{/DTC}</td>
                    <td>{error}</td>
                    <td><a href="{ROOT_URL}admin/errors/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
                    <td><a href="{ROOT_URL}admin/errors/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="E_[]">
                    </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/errors/clear">clear all</a>
</div>