<?php $__env->startSection('title', 'New Role'); ?>

<?php $__env->startSection('page-header'); ?>
<header class="header bg-ui-general">
     <div class="header-info">
          <h1 class="header-title">
               <strong>Update Role</strong>
          </h1>
     </div>

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

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

<div class="col-md-9">
     <form class="card form-type-materia" method="POST" action="<?php echo e(route('roles.update',$role)); ?>">
          <?php echo csrf_field(); ?>
          <?php echo method_field('PUT'); ?>
          <h4 class="card-title fw-400">Update Role </h4>

          <div class="card-body">
               <div class="row">
                    <div class="col-md-6">
                         <div class="form-group">
                              <input class="form-control <?php echo e($errors->has('name') ? 'is-invalid' : ''); ?>" type="text"
                                   name="name" placeholder="Enter New Role Name" value="<?php echo e($role->name); ?>">
                              <label>Role Name</label>
                              <?php if($errors->has('name')): ?>
                              <div class="invalid-feedback"><?php echo e($errors->first('name')); ?></div>
                              <?php endif; ?>
                         </div>
                    </div>
               </div>
          </div>

          <footer class="card-footer text-right">
               <button class="btn  btn-primary" type="submit">
                    <i class="fa fa-save"></i>
                    Update Role
               </button>
          </footer>
     </form>
</div>
<?php $__env->stopSection(); ?>

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

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

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

</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/demosoftghor/sm.demo.softghor.com/resources/views/pages/roles/edit.blade.php ENDPATH**/ ?>