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

<?php if(session()->has('message')): ?>
<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
<div class="col-md-4 alert alert-<?php echo e(session('type')); ?> alert-dismissible" style="font-size:18px;font-weight:bold;width:400px;margin-left:15px">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <?php echo session('message'); ?>

              </div>
              </div> 
<?php endif; ?>


<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
        <div class="col-md-8">
          <!-- general form elements -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">Add New User - اضافة مستخدم جديد  </h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form   role="form" method="POST" action="<?php echo e(url('/user/create')); ?>">
                        <?php echo e(csrf_field()); ?>

              <div class="box-body">
                
                
              <div class="form-group">
                  <label for="exampleInputPassword1">Name - الاسم</label>
                  <input type="text" name="name" class="form-control"  placeholder="username - login name " required>
                </div> 
                <div class="form-group">
                  <label for="exampleInputPassword1">Username - Login Email</label>
                  <input type="text" name="email" class="form-control"  placeholder="username - login name " required>
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1">Login Password</label>
                  <input type="password" name="password" class="form-control"  placeholder="Password - Login Password " required>
                </div>

                <div class="form-group">
                  <label for="exampleInputPassword1"> Confirm Login Password</label>
                  <input type="password" name="confirmpassword" class="form-control"  placeholder="Confirm Login Password " required>
                </div>


                <div class="form-group">
                <label>Select Type Admin or Supervisor</label>
                <select class="form-control select2" style="width: 100%;" name="check_admin_supervisor" id="check_admin_supervisor" required>
                
                  <option value="admin">Admin ادمن </option>
                  <option value="supervisor">Supervisor مشرف </option>
                  
                </select>
                </div>


                <div class="form-group">
                <label>Check Permissions  الصلاحيات</label>
                </div>
                
                <div class="form-group col-md-4">
                <label>
                  <input type="checkbox" class="flat-red" id="show" name="show" value="show">
                  Show 
                </label>
                </div>

                <div class="form-group col-md-4">
                <label>
                  <input type="checkbox" class="flat-red" id="create" name="create" value="create">
                  Create 
                </label>
                </div>

                <div class="form-group col-md-4">
                <label>
                  <input type="checkbox" class="flat-red" id="edit" name="edit" value="edit">
                  Edit 
                </label>
                </div>

                <div class="form-group col-md-4">
                <label>
                  <input type="checkbox" class="flat-red" id="delete" name="delete" value="delete">
                  Delete 
                </label>
                </div>

                <div class="form-group col-md-4">
                <label>
                  <input type="checkbox" class="flat-red" id="approve" name="approve" value="approve">
                  approve 
                </label>
                </div>

 


      
              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                <button type="submit" class="btn btn-primary">Save</button>
              </div>
            </form>
          </div>    
</div>
         
      </div>

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