<?php $__env->startSection('content'); ?>
  <section class="content-header">
    <h1>
      <?php echo Trans('users.users'); ?>

      <small><?php echo Trans('dashboard.crud.edit'); ?> : <?php echo $user->first_name; ?></small>
    </h1>
    <ol class="breadcrumb">
      <li><a href="/"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="<?php echo route('user.index'); ?>"><i class="fa fa-user"></i> Users</a></li>
      <li class="active"><?php echo Trans('dashboard.crud.edit'); ?></li>
    </ol>
  </section>

  <!-- Main content -->

  <section class="content">
    <?php echo $__env->make('layouts.includes.message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php echo Form::model($user,['method'=>'patch','route'=>['user.update',$user->id],'files'=>true]); ?>

    <?php echo $__env->make('users.inc.formv2', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    <?php echo Form::close(); ?>

  </section>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('addJs'); ?>
  <?php echo HTML::script('plugins/datepicker/bootstrap-datepicker.js'); ?>

  <?php echo HTML::script('plugins/datepicker/locales/bootstrap-datepicker.kh.js'); ?>

  <?php echo HTML::script('production/js/webcam.js'); ?>

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

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