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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Delete Process",
        "controller" => "Processes",
        "links" => [
            "Back" =>  ["url" => base_url("processes/$process->ProcessID"), "auth_check" => false],
            "Processes' List" =>  ["url" => base_url("processes"), "auth_check" => false]
        ]
    ]
) ?>

<h2><?= $process->Process ?></h2>
<p>Are you sure?</p>

<?= form_open("processes/".$process->ProcessID) ?>

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

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

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

</form>

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

