<form x-data="contact" method="POST" @submit.prevent="send" autocomplete="on">
    <div class="row">
        <div class="alert alert-danger" x-show="errors.general">
            <template x-for="error in errors.general">
                <span x-text="error"></span>
            </template>
        </div>

        <div class="alert alert-success" x-show="success" x-text="success" x-cloak></div>
        <div class="col-sm-6">
            <div class="mb-3">
                <label>Name <small>*</small></label>
                <?php if (isset($component)) { $__componentOriginalc20efcd0a24c44e62f099cdab6078557 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc20efcd0a24c44e62f099cdab6078557 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.input','data' => ['name' => 'name','xModel' => 'contact.name','placeholder' => 'Enter Name']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'name','x-model' => 'contact.name','placeholder' => 'Enter Name']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $attributes = $__attributesOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $component = $__componentOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__componentOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="mb-3">
                <label>Email <small>*</small></label>
                <?php if (isset($component)) { $__componentOriginalc20efcd0a24c44e62f099cdab6078557 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc20efcd0a24c44e62f099cdab6078557 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.input','data' => ['type' => 'email','name' => 'email','xModel' => 'contact.email','placeholder' => 'Enter Email']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['type' => 'email','name' => 'email','x-model' => 'contact.email','placeholder' => 'Enter Email']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $attributes = $__attributesOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $component = $__componentOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__componentOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="mb-3">
                <label>Subject <small>*</small></label>
                <?php if (isset($component)) { $__componentOriginalc20efcd0a24c44e62f099cdab6078557 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc20efcd0a24c44e62f099cdab6078557 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.input','data' => ['name' => 'subject','xModel' => 'contact.subject','placeholder' => 'Enter Subject']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'subject','x-model' => 'contact.subject','placeholder' => 'Enter Subject']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $attributes = $__attributesOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $component = $__componentOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__componentOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="mb-3">
                <label>Phone</label>
                <?php if (isset($component)) { $__componentOriginalc20efcd0a24c44e62f099cdab6078557 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc20efcd0a24c44e62f099cdab6078557 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.input','data' => ['name' => 'phone','xModel' => 'contact.phone','placeholder' => 'Enter Phone']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'phone','x-model' => 'contact.phone','placeholder' => 'Enter Phone']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $attributes = $__attributesOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__attributesOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc20efcd0a24c44e62f099cdab6078557)): ?>
<?php $component = $__componentOriginalc20efcd0a24c44e62f099cdab6078557; ?>
<?php unset($__componentOriginalc20efcd0a24c44e62f099cdab6078557); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
    <div class="mb-3">
        <label>Message <small>*</small></label>
        <?php if (isset($component)) { $__componentOriginal2d76791869006878330177ffaf7c5aca = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal2d76791869006878330177ffaf7c5aca = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.textarea','data' => ['name' => 'message','xModel' => 'contact.message','rows' => '5','placeholder' => 'Enter Message']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.textarea'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => 'message','x-model' => 'contact.message','rows' => '5','placeholder' => 'Enter Message']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal2d76791869006878330177ffaf7c5aca)): ?>
<?php $attributes = $__attributesOriginal2d76791869006878330177ffaf7c5aca; ?>
<?php unset($__attributesOriginal2d76791869006878330177ffaf7c5aca); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal2d76791869006878330177ffaf7c5aca)): ?>
<?php $component = $__componentOriginal2d76791869006878330177ffaf7c5aca; ?>
<?php unset($__componentOriginal2d76791869006878330177ffaf7c5aca); ?>
<?php endif; ?>
    </div>
    <div class="mb-3">
        <?php if (isset($component)) { $__componentOriginalc62df324b31e47fcd55ce7c21242fada = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc62df324b31e47fcd55ce7c21242fada = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.widgets.alpine.action-button','data' => ['text' => 'Send message']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('widgets.alpine.action-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['text' => 'Send message']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc62df324b31e47fcd55ce7c21242fada)): ?>
<?php $attributes = $__attributesOriginalc62df324b31e47fcd55ce7c21242fada; ?>
<?php unset($__attributesOriginalc62df324b31e47fcd55ce7c21242fada); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc62df324b31e47fcd55ce7c21242fada)): ?>
<?php $component = $__componentOriginalc62df324b31e47fcd55ce7c21242fada; ?>
<?php unset($__componentOriginalc62df324b31e47fcd55ce7c21242fada); ?>
<?php endif; ?>
    </div>
</form>
<?php /**PATH /home/infosfg/peakbaslogistics.com/resources/views/partials/contact-form.blade.php ENDPATH**/ ?>