<?= $this->extend("layouts/default") ?>

<?= $this->section("title") ?>Delete Roast Level<?= $this->endSection() ?>

<?= $this->section("content") ?>

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Delete Roast Level",
        "controller" => "Roastlevels",
        "links" => [
            "Back" =>  ["url" => base_url("roastlevels/$roastlevel->RoastLevelID"), "auth_check" => false],
            "Roast Levels' List" =>  ["url" => base_url("roastlevels"), "auth_check" => false]
        ]
    ]
) ?>

<h2><?= $roastlevel->RoastLevel ?></h2>
<p>Are you sure?</p>

<?= form_open("roastlevels/".$roastlevel->RoastLevelID) ?>

<input type="hidden" name="_method" value="DELETE">

<button style="background-color: red;">Yes</button>

<a class="button" href="<?= site_url('/roastlevels') ?>" default>No</a>

</form>

<?= $this->endSection() ?>

