
<?php $__env->startSection('title'); ?> ইউজার <?php $__env->stopSection(); ?>
<?php $__env->startSection('users'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('users.index'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin_content'); ?>
	
	<!-- BEGIN: Content-->
    <div class="app-content content ">
	    <div class="card">

	        <div class="card-header p-1">
	            <div class="head-label">
	                <h4>নতুন ইউজার</h4>
	            </div>
	        </div>

	        <div class="card-body">
	            <form action="<?php echo e(route('users.store')); ?>" method="post">
	                <?php echo csrf_field(); ?>
	                <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
	                    <div class="row">
	                    	
	                       


	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4">
	                            <div class="form-group">
	                                <label for="name">নাম <span class=" text-danger">(required)</span> </label>
	                                <input type="text" name="name" class="form-control" placeholder="নাম" required>
	                            </div>

	                            <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>

	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4">
	                            <div class="form-group">
	                                <label for="email">ইমেইল <span class=" text-danger">(required)</span> </label>
	                                <input type="email" name="email" class="form-control" placeholder="ইমেইল" required >
	                            </div>

	                            <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>

	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4">
	                            <div class="form-group">
	                                <label for="mobile">মোবাইল <span class=" text-danger">(required)</span> </label>
	                                <input type="number" name="mobile" class="form-control" placeholder="মোবাইল" required >
	                            </div>

	                            <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>

	                     

	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 mt-1">
	                            <div class="form-group">
	                                <label for="password">পাসওয়ার্ড <span class=" text-danger">(required)</span> </label>
	                                <input type="password" name="password" class="form-control" placeholder="পাসওয়ার্ড" required >
	                            </div>

	                            <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>


	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 mt-1">
	                            <div class="form-group">
	                                <label for="password">পাসওয়ার্ড নিশ্চিত করুন <span class=" text-danger">(required)</span> </label>
	                                <input type="password" name="password_confirmation" class="form-control" required  placeholder="পাসওয়ার্ড নিশ্চিত করুন">
	                            </div>

	                            <?php $__errorArgs = ['password_confirmation'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>


	                        <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 mt-1">
	                            <div class="form-group">
	                                <label for="password">রোল <span class=" text-danger">(required)</span> </label>
	                                <select class="form-control select2" name="roles">
	                                	<?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $role): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	                                	<option value="<?php echo e($role->id); ?>"><?php echo e($role->name); ?></option>
	                                	<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
	                                </select>
	                            </div>

	                            <?php $__errorArgs = ['roles'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                    <span class=text-danger><?php echo e($message); ?></span>
                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
	                        </div>


	                        <div class="col-12 col-sm-12 col-md-2 col-lg-2 col-xl-2 d-flex align-items-center" style="margin-top: 15px;">
	                            <input type="submit" name="submit" class="btn btn btn-success" value="Save">
	                        </div>

	                    </div>

	                </div>
	            </form>
	        </div>

	    </div>

    </div>
    <!-- END: Content-->

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>
    <script>
        $(document).ready(function() {
            $('.select2').select2();
        })
    </script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Personal-Project\Office-Project\update\testpaper-final\resources\views/admin/userRole/users/create.blade.php ENDPATH**/ ?>