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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Edit Input",
        "controller" => "Inputs",
        "links" => [
            "Back" =>  ["url" => base_url("inputs/$input->InputID"), "auth_check" => false]
        ]
    ]
) ?>

    <?= form_open("inputs/".$input->InputID) ?>

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

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

    </form>

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

