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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Delete Input type",
        "controller" => "Inputtypes",
        "links" => [
            "Back" =>  ["url" => base_url("inputtypes/$inputtype->InputTypeID"), "auth_check" => false],
            "Input types' List" =>  ["url" => base_url("inputtypes"), "auth_check" => false]
        ]
    ]
) ?>

<h2><?= $inputtype->InputType ?></h2>
<p>Are you sure?</p>

<?= form_open("inputtypes/".$inputtype->InputTypeID) ?>

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

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

<a class="button" href="<?= site_url('/inputtypes') ?>" default>No</a>

</form>

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

