<?php $__env->startSection("content"); ?>
<?php $__env->startSection("title","Add Departments"); ?>

<div class="row">
    <div class="col-xl-12 col-lg-12">
        <div class="alert alert-success my-3" style="display:none;" id="success"></div>
        
        <div class="card">
            <div class="card-header">
                <h4 class="card-title mb-0">Add Departments</h4>
            </div>
            
            <div class="card-body">
                <form accept-charset="utf-8" name="add-form" id="add-form" >
                    <?php echo csrf_field(); ?>
                    <div class="row">


<div class="col-lg-4">
    <div class="mb-3">
        <label class='form-label'><?php echo e($dbs_departments['department_req']); ?><?php echo e($dbs_departments['department_title']); ?>:</label>
        <input type = '<?php echo e($dbs_departments['department_html5_type']); ?>' name = "department" id = "add-department" autocomplete = 'off' maxlength ='<?php echo e($dbs_departments['department_max']); ?>'  value='' <?php if($dbs_departments['department_html5_req']!=''): ?> <?php echo e($dbs_departments['department_html5_req']); ?> = <?php echo e($dbs_departments['department_html5_req']); ?> <?php endif; ?> class= 'form-control'  >
        <span class='text-danger' id='add-departmentError'></span>
    </div>
</div>

    
                    </div>
                    

                    <div class="p-3 mb-3 rounded">
                        <div class="row justify-content-end g-2">
                            <div class="col-lg-3">
                                <button type='submit' name='add-submit' id='add-submit' class='btn btn-outline-secondary w-100' data-args1='<?php echo e(route("departments.store")); ?>' data-args2='admin/departments' onclick='addUpdate(event, "add")'>
                                    <i class="ri-save-line"></i> Save 
                                </button>
                            </div>
                            <div class="col-lg-2">
                                <a href="<?php echo e(url('/admin/departments')); ?>" class="btn btn-primary w-100">
                                    <i class="ri-close-circle-line"></i> Cancel
                                </a>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

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


<?php echo $__env->make("layouts.metor.admin", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/test1/resources/views/departments/create.blade.php ENDPATH**/ ?>