<script src="<?php echo e(asset('js/modal_custom.js')); ?>"></script>

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

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

</div>

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

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

</div>



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

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

</div>

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

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

</div>



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

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

</div>

<!-- Country Field -->

<div class="form-group col-sm-4">
   
    <?php echo Form::label('roles', 'Role:'); ?>

    <?php echo Form::select('roles', $roles, $userRole??null, ['class' => 'form-control form-select select2 ']); ?>

   
</div>

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


<div class="input-group" id="show_hide_password">
    <?php echo Form::password('password', ['class' => 'form-control',  'maxlength' => 255, 'maxlength' => 255]); ?>

    <div class="input-group-text">
        <a href="#" role="button" class="text-dark"><i class="ti ti-eye-off" aria-hidden="true"></i></a>
    </div>
</div>
</div>

<div class="form-group col-sm-4">
    <?php echo Form::label('password_confirmation', 'Confirm Password:'); ?>

    <div class="input-group" id="show_hide_confirm_password">
        <?php echo Form::password('password_confirmation', ['class' => 'form-control',  'maxlength' => 255, 'maxlength' => 255]); ?>

        <div class="input-group-text">
            <a href="#" role="button" class="text-dark"><i class="ti ti-eye-off" aria-hidden="true"></i></a>
        </div>
    </div>
</div>
 
<?php if(isset($user)): ?>
    <em>NOTE: If you dont want to change password leave it blank.</em>
    <?php endif; ?>
    <?php endif; ?>

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

    <?php echo Form::textarea('bio', null, ['class' => 'form-control', 'rows' => 4]); ?>

</div>
<?php /**PATH D:\projects\thamu\sungabha_cinema\resources\views/users/fields.blade.php ENDPATH**/ ?>