<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('ad_page_title', 'Create Candidate'); ?>
<?php $__env->startSection('ad_page_subtitle', 'Add candidate profile details'); ?>

<?php $__env->startSection('ad_content'); ?>
<div class="container-fluid py-4">
    <div class="d-flex flex-column flex-md-row justify-content-between align-items-md-center gap-3 mb-4">
        <div>
            <h1 class="h3 mb-1">Create Candidate</h1>
            <p class="text-muted mb-0">Add candidate profile details</p>
        </div>
        <a href="<?php echo e(route('admin.candidates.index')); ?>" class="btn btn-light border">Back</a>
    </div>

    <?php if($errors->any()): ?>
        <div class="alert alert-danger">
            <ul class="mb-0 ps-3">
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><?php echo e($error); ?></li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </div>
    <?php endif; ?>

    <div class="card shadow-sm border-0">
        <div class="card-body p-4">
            <form action="<?php echo e(route('admin.candidates.store')); ?>" method="POST" enctype="multipart/form-data">
                <?php echo $__env->make('admin.candidates.partials.form', ['submitButtonText' => 'Create'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('admin.ad_master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/onesourceerp/public_html/project/resources/views/admin/candidates/create.blade.php ENDPATH**/ ?>