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

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

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

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

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

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

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

</form>

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