<!DOCTYPE html>
<html data-bs-theme="light" lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <title>Update Post</title>
    <link rel="icon" type="image/png" href="/static/img/shipit.png">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
</head>

<body>
    <div class="container"><a class="navbar-brand fw-bolder" href="/#" style="font-family: Lora, serif;font-size: 35px;" data-bs-target="/">#</a><button data-bs-toggle="collapse" data-bs-target="#navbarResponsive" class="navbar-toggler" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation" style="padding: 6px;border-radius: 0px;border-width: 0px;"><i class="fa fa-bars" style="font-size: 27px;"></i></button>

    <div class="container" style="margin-top: 4rem;">
        <div class="row">
            <div class="col-md-10 col-lg-6 mx-auto">
                <h3>Are you sure you want to delete {{post.title}}?</h3>
                <div style="display: flex; margin-top: 4rem;">
                    <form action="/delete-post/{{post.slug}}" method="POST" style="margin-right: 4rem;">
                        <input type="submit" value="Yes" class="btn btn-danger">
                    </form>
                    <a href="/blog" class="btn btn-primary">No</a>
                </div>
            </div>
        </div>
    </div>

    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
</body>

</html>