<?php $__env->startSection('edit'); ?>

<div class="pagetitle">

    <div class="row">

        <h1 class="col">Ajouter un policier</h1>

        <nav>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="<?php echo e(route('admins.index')); ?>">liste des policiers</a></li>
                <li class="breadcrumb-item">ajout policier</li>
                <h1 class="col-11 text-end">
                    <a href="<?php echo e(route('admins.index')); ?>">
                        <button type="button" class="btn btn-success">Retour</button>
                    </a>
                </h1>
            </ol>

        </nav>

    </div>

    <nav>
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="#"></a></li>
        </ol>
    </nav>
</div><!-- End Page Title -->

<section class="section">
    <div class="row">
        <div class="col-lg-9 " style="margin-left: 80px">
            <div class="card">
                <div class="card-body mt-5">
                    <form action="<?php echo e(route('admins.store')); ?>" method="POST"enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>

                        <div class="row">
                            <div class="col-sm-6">
                                <label for="inputNom" class="form-label">Nom</label>
                                <input type="text" name="nom" class="form-control"
                                    id="inputNom">
                            </div>
                            <div class="col-sm-6">
                                <label for="inputPrenom" class="form-label">Prenoms</label>
                                <input type="text"  name="prenoms" class="form-control"
                                    id="inputPrenom">
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="inputDate" class="form-label"> Date Naissance </label>
                                <input type="date"  name="dateNaissance"
                                    class="form-control" id="inputDate">
                            </div>
                            <div class="col-sm-6">
                                <label for="inputLieu" class="form-label">Lieu Naissance</label>
                                <input type="text"  name="VilleNaissance"
                                    class="form-control" id="inputLieu">
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="inputSexe" class="form-label">Sexe</label>
                                <select class="form-select" name="sexe" value="M"
                                    aria-label="Default select example">
                                    <option selected>Choisir le sexe</option>
                                    <?php $__currentLoopData = $sexes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sexe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                           <option value="<?php echo e($sexe->nom); ?>"><?php echo e($sexe->nom); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </select>
                            </div>
                            <div class="col-sm-6">
                                <label for="inputTaille" class="form-label">Taille</label>
                                <input type="number" name="taille"  class="form-control"
                                    id="inputTaille">
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="inputCouleur" class="form-label">Couleur des Yeux</label>
                                <select class="form-select" name="couleurYeux"
                                    aria-label="Default select example">
                                    <option selected>Choisir la couleur des yeux</option>
                                        <?php $__currentLoopData = $couleurYeux; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $couleurYeuxs): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($couleurYeuxs->nom); ?>"><?php echo e($couleurYeuxs->nom); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                            <div class="col-sm-6">

                                <label for="inputCouleur" class="form-label">Groupe Sanguin</label>
                                <select class="form-select" name="groupeSanguin"
                                    aria-label="Default select example">
                                    <option selected>Choisir le groupe sanguin</option>
                                    <?php $__currentLoopData = $groupeSanguin; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $groupeSanguins): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($groupeSanguins->nom); ?>"><?php echo e($groupeSanguins->nom); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="inputTelephone" class="form-label">Telephone</label>
                                <input type="text"  name="telephone"
                                    class="form-control" id="inputTelephone">
                            </div>
                            <div class="col-sm-6">
                                <label for="inputEmail" class="form-label">Email</label>
                                <input type="email"    name="email"
                                    class="form-control" id="inputEmail">
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="inputSigne" class="form-label">Signe Particulier</label>
                                <input type="text" name="signePart"  class="form-control" id="inputSigne" >
                            </div>
                            <div class="col-sm-6">
                                <label for="inputGrade" class="form-label">Grade</label>
                                <input type="text"    name="grade"
                                    class="form-control" id="inputTaille">
                            </div>
                        </div>
                        <div class="row mt-3">
                            <div class="col-sm-6">
                                <label for="formMatricule" class="form-label">Matricule</label>
                                <input type="text" class="form-control"
                                    name="matricule" id="formMatricule">
                            </div>
                            <div class="col-sm-6">
                                <label for="inputCorps" class="form-label">Corps</label>
                                <input type="text"  name="corps"
                                    class="form-control" id="inputCorps">
                            </div>
                        </div>
                        <div class="col-sm">
                            <label for="photo" class="form-label">Image</label>
                            <input id="photo" name="photo" type="file" class="form-control">

                        </div>


                        <div class="row mt-3">
                            <div class="col-sm-12 text-end">
                                <button class="btn btn-color" type="submit">Valider</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.super-Admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/damala/Documents/police/resources/views/super_admin/create.blade.php ENDPATH**/ ?>