<?= $this->include("themes/_commonPartialsBs/select2bs5") ?>
<?= $this->extend('themes/backend/vuexy/main/defaultlayout') ?>
<?= $this->section("content") ?>
<div class="row">
    <div class="col-12">
        <div class="card card-info">
            <div class="card-header">
                <h3 class="card-title"><?= $boxTitle ?? $pageTitle ?></h3>
            </div><!--//.card-header -->
            <div class="card-body">
                <form id="userForm" method="post" class="card-body" action="<?= $formAction ?>">
                    <?= csrf_field() ?>
                    <?= view("themes/_commonPartialsBs/_alertBoxes") ?>
                    <?= !empty($validation->getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?>
                    <?= view("themes/backend/vuexy/form/user/_userFormItems") ?>
                        <div class="pt-4">
                            <input
                                    type="submit"
                                    class="btn btn-primary float-start me-sm-3 me-1"
                                    name="save"
                                    value="<?= lang("Basic.global.Save") ?>"
                            >
                            <?= anchor(route_to("userIndex"), lang("Basic.global.Cancel"), ["class" => "btn btn-secondary"]) ?>
                        </div>
                </form>
            </div><!-- /.card-body -->
        </div><!-- //.card -->
    </div><!--//.col -->
</div><!--//.row -->
<?= $this->endSection() ?>
