<?php $__env->startSection('title','Nouveau utilisateur'); ?>
<?php $__env->startSection('content'); ?>

                        <!-- [ Main Content ] start -->
                        <div class="card">
                            <div class="card-header">
                                <h5>Modifier utilisateur admin</h5>
                            </div>
                            <div class="card-body">
                        <div class="col-md-6">
                            <form action="<?php echo e(asset('update_user')); ?>" method="POST">
                                <?php echo csrf_field(); ?>
                                <input type="hidden" value="<?php echo e($user->id); ?>" name="id">
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Nom</label>
                                    <input type="text" class="form-control" name="nom" placeholder="Nom" value="<?php echo e($user->nom); ?>" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Prenom</label>
                                    <input type="text" class="form-control" name="prenom" placeholder="Prénom" value="<?php echo e($user->prenom); ?>" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Contact</label>
                                    <input type="text" class="form-control" name="phone" placeholder="Contact" value="<?php echo e($user->phone); ?>" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Adresse</label>
                                    <input type="text" class="form-control" name="adresse" placeholder="Adresse" value="<?php echo e($user->adresse); ?>" required>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputEmail1">Email</label>
                                    <input type="email" class="form-control" id="exampleInputEmail1" value="<?php echo e($user->email); ?>" name="email" aria-describedby="emailHelp" placeholder="Votre email">
                                    <small id="emailHelp" class="form-text text-muted">Veuillez renseigner un mail valide .</small>
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputPassword1">Mot de passe</label>
                                    <input type="password" class="form-control" name="password" id="exampleInputPassword1" placeholder="Mot de passe">
                                </div>
                                <button type="submit" class="btn btn-primary">Modifier</button>
                            </form>
                        </div>
                        <!-- [ Main Content ] end -->
                    </div>
                </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\b2w_caece\b2w_caece\resources\views/admin/edit_user.blade.php ENDPATH**/ ?>