<?php if(is_plugin_active('portfolio')): ?>
    <div class="services-widget">
        <?php if($title = Arr::get($config, 'title')): ?>
            <h4 class="sw-title"><?php echo e($title); ?></h4>
        <?php endif; ?>
        <div class="services-widget-form">
            <form id="request-quote-form" method="post" action="<?php echo e(route('portfolio.request-quote')); ?>" >
                <?php echo csrf_field(); ?>
                <div class="form-grp">
                    <input type="text" name="name" placeholder="<?php echo e(__('Your Name')); ?>">
                </div>
                <div class="form-grp">
                    <input type="email" name="email" placeholder="<?php echo e(__('E-mail Address')); ?>">
                </div>
                <?php $__currentLoopData = $customFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customField): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($customField->type == Botble\Portfolio\Enums\CustomFieldType::TEXT): ?>
                        <div class="col-md-12">
                            <div class="form-grp">
                                <input type="text" class="form-control" name="custom_fields[<?php echo e($customField->getKey()); ?>]" placeholder="<?php echo e($customField->name); ?>">
                            </div>
                        </div>
                    <?php elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::NUMBER): ?>
                        <div class="col-md-12">
                            <div class="form-grp">
                                <input type="number" class="form-control" name="custom_fields[<?php echo e($customField->getKey()); ?>]" placeholder="<?php echo e($customField->name); ?>">
                            </div>
                        </div>
                    <?php elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::TEXTAREA): ?>
                        <div class="col-md-12">
                            <div class="form-grp">
                                <textarea class="form-control" name="custom_fields[<?php echo e($customField->getKey()); ?>]" rows="5" placeholder="<?php echo e($customField->name); ?>"></textarea>
                            </div>
                        </div>
                    <?php elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::DROPDOWN): ?>
                        <?php if(! $customField->options->filter(fn ($option) => ! empty($option->label))) continue; ?>
                        <div class="col-md-12">
                            <div class="form-grp">
                                <select class="form-select" name="custom_fields[<?php echo e($customField->getKey()); ?>]">
                                    <option value=""><?php echo e($customField->name); ?></option>
                                    <?php $__currentLoopData = $customField->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($option->getKey()); ?>"><?php echo e($option->label); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>
                    <?php elseif($customField->type == Botble\Portfolio\Enums\CustomFieldType::CHECKBOX): ?>
                        <?php if(! $customField->options->filter(fn ($option) => ! empty($option->label))) continue; ?>
                        <div class="col-md-12 mb-10">
                            <div class="mb-3">
                                <strong class="font-sm-bold color-grey-900"><?php echo e($customField->name); ?></strong>
                                <div class="row mt-10 box-cb-form">
                                    <?php $__currentLoopData = $customField->options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="col-lg-6 col-md-6">
                                            <div class="form-check">
                                                <?php ($id = Str::kebab("{$customField->name}-{$loop->index}")); ?>
                                                <input
                                                    class="form-check-input"
                                                    type="checkbox"
                                                    name="custom_fields[<?php echo e($customField->getKey()); ?>][]"
                                                    value="<?php echo e($option->value); ?>"
                                                    id="cb-<?php echo e($id); ?>"
                                                />
                                                <label for="cb-<?php echo e($id); ?>">
                                                    <?php echo e($option->label); ?>

                                                </label>
                                            </div>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </div>
                            </div>
                        </div>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <div class="form-grp">
                    <textarea name="message" placeholder="<?php echo e(__('Type Your Message')); ?>"></textarea>
                </div>
                <?php if(is_plugin_active('captcha') && Captcha::isEnabled()): ?>
                    <div class="form-grp">
                        <?php echo Captcha::display(); ?>

                    </div>
                <?php endif; ?>
                <button type="submit" class="submit-btn"><?php echo e(__('Send Message')); ?></button>
            </form>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH /home/mideatek/technical2.globix.ae/platform/themes/gerow/////widgets/service-get-a-quote/templates/frontend.blade.php ENDPATH**/ ?>