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

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

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

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Delete Certification",
        "controller" => "Certifications",
        "links" => [
            "Back" =>  ["url" => base_url("certifications/$certification->CertificationID"), "auth_check" => false],
            "Certifications' List" =>  ["url" => base_url("certifications"), "auth_check" => false]
        ]
    ]
) ?>

<h2><?= $certification->Certification ?></h2>
<p>Are you sure?</p>

<?= form_open("certifications/".$certification->CertificationID) ?>

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

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

<a href="<?= site_url('/certifications') ?>"><button type="button" default >No</button></a>

</form>

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

