<!-- 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,'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($permission) ? $permission->guard_name : 'web'), ['class' => 'form-control','maxlength' => 255,'maxlength' => 255]); ?>    
</div>

<!-- 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.permissions.index')); ?>" class="btn btn-secondary">Cancel</a>
</div>
<?php /**PATH /data/docker/wjc/portal/resources/views/base/permissions/fields.blade.php ENDPATH**/ ?>