<!-- Name Field -->
<div class="form-group col-sm-6">
    <?php echo Form::label('name', 'Name:'); ?>

    <?php echo Form::text('name', null, ['class' => 'form-control','maxlength' => 255]); ?>

</div>

<!-- Guard Name Field -->
<div class="form-group col-sm-6">
    <?php echo Form::label('guard_name', 'Guard Name:'); ?>

    <?php echo Form::text('guard_name', ( isset($role) ? $role->guard_name : 'web'), ['class' => 'form-control','maxlength' => 255, 'readonly' => 'readonly']); ?>

</div>

<!-- List Unit Field -->
<?php echo $__env->make('base.roles.unit_fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<!-- List Permission Field -->
<?php echo $__env->make('base.roles.permission_fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<!-- Submit Field -->
<div class="form-group col-sm-12 mt-2">
    <?php echo Form::submit('Save', ['class' => 'btn btn-primary']); ?>

    <a href="<?php echo e(route('base.roles.index')); ?>" class="btn btn-secondary">Cancel</a>
</div>
<?php /**PATH /data/docker/wjc/portal/resources/views/base/roles/fields.blade.php ENDPATH**/ ?>