aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/admin/guestbook-del-confirm.blade.php
blob: 7db9e6d8bd5567e50d9f0c8fbac3b7fb7d176be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@extends('layouts.minimal')
@section('title', 'Delete confirm')
@section('content')
    <h1>Delete Confirmation</h1>
    <hr>
    <p>Are you sure you want to delete this entry?</p>

    <h3>Entry Details:</h3>
    <table class="gb-entry_details">
        <tr>
            <td><b>ID:</b></td>
            <td>{{ $entry->id }}</td>
        </tr>
        <tr>
            <td><b>Name:</b></td>
            <td>{{ $entry->name }}</td>
        </tr>
        <tr>
            <td><b>Date:</b></td>
            <td>{{ gmdate("H:i:s - Y-m-d", $entry->timestamp) }}</td>
        </tr>
        <tr>
            <td><b>Message:</b></td>
            <td>{{ $entry->message }}</td>
        </tr>
    </table>

    <form action="/admin/guestbook/delete" method="POST">
        @csrf
        <input type="hidden" name="id" value="{{ $entry->id }}">
        <button type="submit">Confirm Delete</button>
    </form>
@stop