<!-- 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>

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

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

</div>

<!-- Password Field -->
<?php if(!isset($user)): ?>
<div class="form-group col-sm-6">
    <?php echo Form::label('password', 'Password:'); ?>

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

</div>
<?php endif; ?>

<!-- List Permission Field -->
<?php echo $__env->make('base.users.role_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.users.index')); ?>" class="btn btn-secondary">Cancel</a>
</div>
<?php /**PATH /data/docker/wjc/portal/resources/views/base/users/fields.blade.php ENDPATH**/ ?>