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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Edit 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]
        ]
    ]
) ?>

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

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

<?= $this->include("RoastColours/form") ?>

</form>

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