<div class="container py-4">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card shadow">
                <!-- Card Header -->
                <div class="card-header text-center bg-dark text-white">
                    <h3 class="card-title mb-0">Error Log</h3>
                </div>

                <!-- Card Body -->
                <div class="card-body">
                    <div class="row align-items-center">
                        <!-- Log Details -->
                        <div class="col-md-8">
                            <table class="table table-borderless">
                                <tbody>
                                    <tr>
                                        <th scope="row">ID:</th>
                                        <td>{ID}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">Class:</th>
                                        <td>{class}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">Function:</th>
                                        <td>{function}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">Time:</th>
                                        <td>{DTC}{time}{/DTC}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">IP:</th>
                                        <td>{ip}</td>
                                    </tr>
                                    <tr>
                                        <th scope="row">Error:</th>
                                        <td>{error}</td>
                                    </tr>
									<tr>
										<th scope="row" colspan="2">Description:</th>
									</tr>
									<tr>
										<td colspan="2">{description}</td>
									</tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>

                <!-- Admin Controls -->
                <div class="card-footer text-center">
					{ADMIN}
					<form action="{ROOT_URL}admin/errors/delete" method="post">
						<input type="hidden" name="E_" value="{ID}">
						<input type="hidden" name="token" value="{TOKEN}">
						<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
					</form>
					{/ADMIN}
                </div>
            </div>
        </div>
    </div>
</div>