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

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

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


<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Edit Country",
        "controller" => "Countries",
        "links" => [
            "Back" =>  ["url" => base_url("countries/$country->CountryID"), "auth_check" => false]
        ]
    ]
) ?>

    <?= form_open("countries/".$country->CountryID) ?>

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

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

    </form>

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

