<?php $__env->startSection('content'); ?>
  <article class="content items-list-page">
                    <div class="title-search-block">
               
                        <div class="title-block">
                            <div class="row">
                                <div class="col-md-6">
                                    <h3 class="title">
                    Change Password
                    
                    <!--<a href="<?php echo e(url('admin/emp/create')); ?>" class="btn btn-primary btn-sm rounded-s">
                        <i class="fa fa-location-arrow"></i> New Appointment
                    </a> -->
                    
               
                </h3>
                                    <p class="title-description"> 
        <ul class='breadcrumb'>
        <li><a href="<?php echo e(URL('admin/dashboard')); ?>"><i class="fa fa-home"></i> Dashboard</a></li>
        <li>Change Password</li>

    </ul>

                                </div>
                            </div>
                        </div>
                    </div>
 					<?php if(count($errors) > 0): ?>
                        <div class="alert alert-danger">
                            <strong>Whoops!</strong> There were some problems with your input.<br><br>
                            <ul>
                                <?php foreach($errors->all() as $error): ?>
                                    <li><?php echo e($error); ?></li>
                                <?php endforeach; ?>
                            </ul>
                        </div>
                    <?php endif; ?>

                 <?php if(Session::has('message')): ?>
                        <div class="alert alert-success">
                            <strong>  <?php echo e(Session('message')); ?> </strong>
                        </div>
                    <?php endif; ?>
<section class="section">
                        <div class="row sameheight-container">
                            <div class="col-xl-12">
                                <div class="card sameheight-item">
                                    <div class="card-block">
                                        <!-- Nav tabs -->
         <?php foreach($users as $user): ?>
					<form class="form-horizontal" role="form" method="POST" action="<?php echo e(url('/update')); ?>">
						<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">

						<div class="form-group">
							<label class="control-label">Name</label>
							
								<input type="text" class="form-control underlined" name="name" value="<?php echo e($user->name); ?>">
							
						</div>

						<div class="form-group">
							<label class="control-label">E-Mail Address</label>
							
								<input type="email" class="form-control underlined" name="email" value="<?php echo e($user->email); ?>" disabled>
							
						</div>

						<div class="form-group">
							<label class="control-label">Reset Password</label>
							
								<input type="password" class="form-control underlined" name="password">
							
						</div>

						<div class="form-group">
							<label class="control-label">Confirm Password</label>
								<input type="password" class="form-control underlined" name="password_confirmation">
							
						</div>

						<div class="form-group">
							
								<button type="submit" class="btn btn-primary">
									Update
								</button>
							
						</div>
					</form>
                        <?php endforeach; ?>                                
                                       
    </div>
                                    </div>
                                    <!-- /.card-block -->
                                </div>
                                <!-- /.card -->
                            </div>
                           
                        </div>
                    </section>


                       <!-- Nav tabs -->




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


<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>