

<?php $__env->startSection('title', 'Edit User ' . $user->first_name); ?>






<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row justify-content-center container_layout"> 

        <div class="col-md-12 mobile_view">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item">
                        <a href="<?php echo e(route('adminhome')); ?>">
                            <i class="material-icons">home</i>
                        </a>
                    </li>
                    <li class="breadcrumb-item"><a href="<?php echo e(route('usermanagement')); ?>">User Management</a></li>
                    <li class="breadcrumb-item"><a href="<?php echo e(route('districtadmin.display')); ?>">District Admin</a></li>
                    <li class="breadcrumb-item active"><a href="">Edit</a></li>
                </ol>
            </nav>
        </div>
        
        <div class="col-md-12">
           <div class="card">
                <div class="card-header light-blue lighten-1 white-text text-uppercase font-weight-bold text-start py-3"><i class="fa fa-edit fa-lg"></i> Edit User<?php echo e($user->first_name); ?>

                </div>
                <div class="card-body">

                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <?php $flag=1; ?>
                                <?php echo Form::model($user, ['method' => 'PUT', 'route' => ['users.update',  $user->id ] ]); ?>

                                    <?php echo $__env->make('usermanagement._form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                                    <!-- Submit Form Button -->
                                    <?php echo Form::submit('Save Changes', ['class' => 'btn btn-primary btn-sm']); ?>

                                 <a href="<?php echo e(Session::get('edit_previous_button')); ?>" class="btn btn-default btn-sm"> <i class="fa fa-arrow-left"></i> Back</a>
                                <?php echo Form::close(); ?>

                            </div>

                         </div>
               </div>
            </div>
        </div>
        
        
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>