
<?php $__env->startSection('title'); ?>
<?php echo e(__("message.Edit Profile")); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--Page header-->
<div class="page-header">
   <h3 class="page-title"><?php echo e(__("message.Edit Profile")); ?> </h3>
   <div class="col-sm-6">
    
      <ol class="breadcrumb float-sm-right">
    
         <li class="breadcrumb-item"><a href="<?php echo e(route('manager-dashboard')); ?>"><?php echo e(__("message.Home")); ?></a></li>
         <li class="breadcrumb-item active"><?php echo e(__("message.Edit Profile")); ?></li>
      </ol>
   </div>
</div>

	<div class="col-xl-4 col-lg-12">
		<div class="card">
			<div class="card-body">
				<div class="card-header ">
					<div class="card-title"><?php echo e(__("message.Edit Profile")); ?></div>
				</div>
				<?php if(Session::has('message')): ?>
          		<div class="col-sm-12">
                     <div class="alert  <?php echo e(Session::get('alert-class', 'alert-info')); ?> alert-dismissible fade show" role="alert"><?php echo e(Session::get('message')); ?>

                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                        </button>
                     </div>
                </div>
             	<?php endif; ?>
			 	<form  action="<?php echo e(route('update-manager-profile')); ?>" method="post" enctype="multipart/form-data">
			 		<?php echo e(csrf_field()); ?>

				 
						
						<div class="col-sm-12 col-md-12">
							<div class="form-group">
								<label class="form-label"><?php echo e(__("message.Name")); ?></label>
								<input type="text" class="form-control" id="name" name="name" value="<?php echo e(Auth::user()->name); ?>"placeholder="<?php echo e(__('message.Enter Name')); ?>" >
							</div>
						</div>
						<div class="col-sm-12 col-md-12">
							<div class="form-group">
								<label class="form-label"><?php echo e(__("message.Email Id")); ?></label>
								<input type="text" class="form-control" id="emailId" name="emailId" placeholder="<?php echo e(__('message.Enter Email')); ?>" value="<?php echo e(Auth::user()->email); ?>">
							</div>
						</div>
						<div class="col-sm-12 col-md-12">
							<div class="form-group">
	              				<!-- <div class="form-group"> -->
	                   			<label for="name"><?php echo e(__("message.Profile Image")); ?> <span class="reqfield">*</span></label>
				                  	<div id="uploaded_image">
				                     	<div class="upload-btn-wrapper">
					                        <button class="btn imgcatlog">
						                        <?php 
						                            if(isset(Auth::user()->profile_pic)){
						                                $path= env('APP_URL')."storage/app/public/profile"."/".Auth::user()->profile_pic;
						                            }
						                            else{
						                                $path=asset('/upload/default.jpg');
						                            }
						                        ?>
					                        	<img src="<?php echo e($path); ?>" alt="..." class="img-thumbnail imgsize"  id="basic_img" >
					                        </button>
					                        <input type="hidden" id="basic_img1"/>
					                        <?php if(isset(Auth::user()->profile_pic)): ?>
					                        	<input type="file" name="upload_image" class="form-control" id="upload_image" />
					                        <?php else: ?>
					                        	<input type="file" required="" class="form-control" name="upload_image" id="upload_image" />
					                        <?php endif; ?>
					                    </div>
				                   	</div>                
	              			</div> 
						</div>
						<div class="card-footer text-end">
							<input type="submit" value='<?php echo e(__("message.Edit Profile")); ?>' class="btn btn-success">
							<a href="javascript:void0;" class="btn btn-danger"><?php echo e(__("message.Cancel")); ?></a>
						</div>
					<!-- </div> -->
            	</form>
        	</div>
		</div>
	</div>
<!-- </div> -->
<!-- End Row-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('manager.layout.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/manager/editprofile.blade.php ENDPATH**/ ?>