
<?php $__env->startSection('content'); ?>
<!-- Content Header (Page header) -->
<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0 text-dark">Staff Edite</h1>
      </div><!-- /.col -->
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right">
          <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Home</a></li>
          <li class="breadcrumb-item active">User roles</li>
        </ol>
      </div><!-- /.col -->
    </div><!-- /.row -->
  </div><!-- /.container-fluid -->
</div>



          <div class="card">
            <div class="card-header">
              <h3 class="card-title"> User Role</h3>
            
            </div>
            <!-- /.card-header -->
            <div class="card-body col-lg-6">
                    <div class="modal-content">
                      <div class="modal-header">
                        <h4 class="modal-title">Update Writer</h4>
                       
                      </div>

                      <div class="modal-body">
                         <form action="<?php echo e(route('update.writer',$writer->id)); ?>" method="Post">
                         	<?php echo csrf_field(); ?>
                           <div class="form-group">
                             <label for="exampleInputEmail1">Name</label>
                             <input type="text" class="form-control "  aria-describedby="emailHelp" name="name" required="" value="<?php echo e($writer->name); ?>">
                           </div>
                           <div class="form-group">
                             <label for="exampleInputPassword1">Email</label>
                             <input type="email" class="form-control " name="email" required="" value="<?php echo e($writer->email); ?>">
                           </div>
						     <div class="form-group">
                             <label for="exampleInputEmail1">Facebook ID</label>
                             <input type="text" class="form-control "  aria-describedby="emailHelp" name="facebookid" required="" value="<?php echo e($writer->facebookid); ?>">
                           </div>
                          <br>
                           <div class="row">
                           	    <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Category</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="category" value="1"   <?php if($writer->category==1): ?> checked=""  <?php endif; ?> >
                                </div>
                                <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">District</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="district" value="1" <?php if($writer->district==1): ?> checked=""  <?php endif; ?>>
                                </div>
                                <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Posts</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="post" value="1" <?php if($writer->post==1): ?> checked=""  <?php endif; ?>>
                                </div>
								 <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">All Posts</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="post" value="1" <?php if($writer->allpost==1): ?> checked=""  <?php endif; ?>>
                                </div>
                                <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Setting</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="setting" value="1" <?php if($writer->setting==1): ?> checked=""  <?php endif; ?>>
                                </div>
                           </div>
                            <div class="row">
                           	    <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Gallery</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="gallery" value="1" <?php if($writer->gallery==1): ?> checked=""  <?php endif; ?>>
                                </div>
                                <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Ads</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="ads" value="1"<?php if($writer->ads==1): ?> checked=""  <?php endif; ?>>
                                </div>
                                <div class="form-group col-lg-3">
		                             <label for="exampleInputEmail1">Role</label>
		                             <input type="checkbox" class="form-control "  aria-describedby="emailHelp" name="role" value="1" <?php if($writer->role==1): ?> checked=""  <?php endif; ?>>
                                </div>
                        
                           </div>
                    	<br><hr>
                           <button type="submit" class="btn btn-success btn-block">Update</button>
                         </form>
                      </div>
                    </div>
            </div>
            <!-- /.card-body -->
          </div>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/dhakasupplier/bdcrimewatch.com/resources/views/backend/role/edit.blade.php ENDPATH**/ ?>