Current File : /home/tradevaly/www/storage/framework/views/6c9404832caf4d0e7b58f50428a8eedfc11af5be.php

<?php $__env->startPush('title'); ?> Add new Admin <?php $__env->stopPush(); ?>
<?php $__env->startSection('css'); ?>
    <!-- select2 css -->
    <link href="<?php echo e(asset('/assets/libs/select2/select2.min.css')); ?>" rel="stylesheet" type="text/css" />

    <!-- dropzone css -->
    <link href="<?php echo e(asset('/assets/libs/dropzone/dropzone.min.css')); ?>" rel="stylesheet" type="text/css" />
    <style>
        .image_preview_container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 280px));
  justify-content: center;
  padding: 25px;
}
.image_preview_container img {
  width: 100%;
  border: 1px solid #0001;
  box-shadow: 0 2px 15px #0001, 0 2px 8px #0001;
  border-radius: 4px;
  aspect-ratio: 1/1;
  object-fit: cover;
}
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

    <?php $__env->startComponent('components.breadcrumb'); ?>
        <?php $__env->slot('li_1'); ?> Dashboards <?php $__env->endSlot(); ?>
        <?php $__env->slot('title'); ?> Create New Admin <?php $__env->endSlot(); ?>
    <?php echo $__env->renderComponent(); ?>

    <div class="row">
    <div class="col-md-12">
       <div class="card">
                <div class="card-body">

                    <h4 class="card-title">Create New Admin</h4>
                    <p class="card-title-desc">Fill all information below</p>

                     <form action="<?php echo e(route('admin.user_namagement.admin.admin_store')); ?>" method="POST">
                         <?php echo csrf_field(); ?>
                        <div class="row">
                             <div class="col-sm-6">
                                    <div class="mb-3">
                                        <label for="metadescription"><?php echo e(translate('Name')); ?></label>
                                         <input id="metatitle" name="name" type="text" class="form-control" required>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="mb-3">
                                        <label for="metadescription"><?php echo e(translate('Mobile Number')); ?></label>
                                         <input id="metatitle" name="phone" type="number" class="form-control" required>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="mb-3">
                                        <label for="metadescription"><?php echo e(translate('Email')); ?></label>
                                         <input id="metatitle" name="email" type="email" class="form-control" required>
                                    </div>
                                </div>
                            <div class="col-lg-6">
                               <div class="form-check form-check-end">
                                   <select class="form-select" name="role_id">
                            <?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>
                            </div>
                        <div class="col-sm-6">
                                    <div class="mb-3">
                                        <label for="metadescription"><?php echo e(translate('Password')); ?></label>
                                         <input id="metatitle" name="password" type="password" class="form-control" required>
                                    </div>
                                </div> <div class="col-sm-6">
                                    <div class="mb-3">
                                        <label for="metadescription"><?php echo e(translate('Confirm Password')); ?></label>
                                         <input id="metatitle" name="password_confirmation" type="password" class="form-control" required>
                                    </div>
                        
                        </div>

                        <div class="d-flex flex-wrap gap-2">
                            <button type="submit" class="btn btn-primary waves-effect waves-light">Save Changes</button>
                            <a href="<?php echo e(route('admin.user_namagement.role.index')); ?>" class="btn btn-secondary waves-effect waves-light">Cancel</a>
                        </div>
                    </form>

                </div>
            </div> 
        
    </div>
  </div>
      
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.ayaan.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/backend/pages/userManagement/admin/create.blade.php ENDPATH**/ ?>