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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Delete Agtron Number",
        "controller" => "RoastColours",
        "links" => [
            "Back" =>  ["url" => base_url("RoastColours/$roastcolour->RoastColourID"), "auth_check" => false],
            "Agtron Numbers' List" =>  ["url" => base_url("RoastColours"), "auth_check" => false]
        ]
    ]
) ?>

<h2><?= $roastcolour->RoastColourName ?></h2>
<p>Are you sure?</p>

<?= form_open("RoastColours/".$roastcolour->RoastColourID) ?>

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

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

<a href="<?= site_url('/RoastColours') ?>"><button type="button" default >No</button></a>

</form>

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

