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

        <div class="container-fluid">
          <div class="animated fadeIn">
            <div class="row">
              <div class="col-12">
                <div class="card">
                    <div class="card-header">
                      <i class="fa fa-align-justify"></i> <?php echo e(__('Edit')); ?> - <?php echo e($user->fname.' '.$user->lname); ?></div>
                    <div class="card-body">
                        <br>
                        <form method="POST" action="/users/<?php echo e($user->id); ?>">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <table class="table table-bordered datatable">
                                <tbody>
                                    <tr>
                                        <th>
                                        First Name
                                        </th>
                                        <td>
                                            <input class="form-control" name="fname" type="text" value="<?php echo e(old('fname', $user->fname)); ?>" required>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                        Last Name
                                        </th>
                                        <td>
                                            <input class="form-control" name="lname" type="text" value="<?php echo e(old('lname', $user->lname)); ?>" required>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                        Contact
                                        </th>
                                        <td>
                                            <input class="form-control" name="contact_number" type="number" value="<?php echo e(old('contact_number', $user->contact_number)); ?>" required>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                        Email
                                        </th>
                                        <td>
                                            <input class="form-control" name="email" type="email" value="<?php echo e(old('email', $user->email)); ?>" required>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>
                                        New Password
                                        </th>
                                        <td>
                                            <input class="form-control" name="new_password" type="text" value="<?php echo e(old('new_password')); ?>">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <button class="btn btn-success" type="submit"><?php echo e(__('Save')); ?></button>
                            <a href="<?php echo e(route('users.index')); ?>" class="btn btn-primary"><?php echo e(__('Return')); ?></a>
                        </form>
                    </div>
                </div>
              </div>
            </div>
          </div>
        </div>

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

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

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

<?php echo $__env->make('dashboard.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\pec_portal\resources\views/dashboard/admin/userEditForm.blade.php ENDPATH**/ ?>