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

                <!-- Card Body -->
                <div class="card-body">
                    <div class="row align-items-center">
                        <!-- Log Details -->
                            <table class="table table-borderless">
                                <tbody>
                                    <tr>
                                        <th scope="row">ID:</th>
                                        <td>{ID}</td>
                                    </tr>
									<tr>
										<th scope="row">Time submitted</th>
										<td>{DTC}{time}{/DTC}</td>
									</tr>
									<tr>
										<th scope="row">Email:</th>
										<td>{email}</td>
									</tr>
									<tr>
										<th scope="row">Name:</th>
										<td>{name}</td>
									</tr>
                                    <tr>
                                        <th scope="row">IP:</th>
                                        <td>{ip}</td>
                                    </tr>
									<tr>
										<th scope="row" colspan="2">Feedback:</th>
									</tr>
									<tr>
										<td colspan="2">{feedback}</td>
									</tr>
                                </tbody>
                            </table>
                    </div>
                </div>

                <!-- Admin Controls -->
                <div class="card-footer text-center">
					{ADMIN}
					<form action="{ROOT_URL}admin/contact/delete" method="post">
						<input type="hidden" name="F_" 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>