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

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


<?= $this->section("content") ?>
    <style>
        :root {
            --background:--background-body;
        }
    </style>

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Roast Level",
        "controller" => "Roastlevels",
        "links" => [
            "Back" =>  ["url" => url_to("Roastlevels::index"), "auth_check" => true]
        ]
    ]
) ?>

<div class="round-border">
    
    <h1>Roast Level</h1>

    <table>
        <tr>
            <td><b>ID</b></td>
            <td><?= $roastlevel->RoastLevelID ?></td>
        </tr>
        <tr>
            <td><b>Roast Level</b></td>
            <td><?= $roastlevel->RoastLevel ?></td>
        </tr>
        <tr>
            <td><b>Last updated</b></td>
            <td><?= $roastlevel->lastupdated ?></td>
        </tr>
    </table>

    <?= view("layouts/deletebtnrecipes",["controller" => "Roastlevels", 'id'=>(string)$roastlevel->RoastLevelID, "urltodelete"=> "Roastlevels::confirmDelete","urltoedit"=>"Roastlevels::edit"]) ?>
</div>

    <?= $this->include("layouts/usedbyrecipes") ?>
  

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

