{{-- Carga el script de reCAPTCHA solo en las páginas que montan este componente. --}} @include('layouts.partials.captcha') {{--
envuelve los inputs para que apliquen las reglas de validación de Vuexy (form .input-group:has(.is-invalid)): borde completo del grupo + hover anulado. Sin acción de submit (los botones usan wire:click); novalidate desactiva la validación nativa del navegador. --}} @if ($errors->any()) @endif {{-- Type Selection --}}
{{ __('Machine type selection') }} *

{{ __('Select the type of machine you are looking for.') }}

@php $types = [ 'weaving' => ['id' => 'p-weaving', 'label' => __('Weaving machine'), 'icon' => 'ti tabler-needle-thread'], 'knitting' => ['id' => 'p-knitting', 'label' => __('Knitting machine'), 'icon' => 'ti tabler-grain'], 'other' => ['id' => 'p-other', 'label' => __('Other machines'), 'icon' => 'ti tabler-settings'], ]; @endphp @foreach ($types as $value => $opt) @php $selected = $type === $value; @endphp
@endforeach
@error('type')
{{ $message }}
@enderror
{{-- Basic Specifications --}}
{{ __('Basic machine specifications') }}
@error('brand')
{{ $message }}
@enderror
@error('model')
{{ $message }}
@enderror
@error('width')
{{ $message }}
@enderror
@if ($type === 'weaving')
@error('movement_type')
{{ $message }}
@enderror
@endif
@error('year')
{{ $message }}
@enderror
@error('quantity')
{{ $message }}
@enderror
@error('number_of_levers')
{{ $message }}
@enderror
{{-- Additional Information --}}
{{ __('Additional information & requirements') }}
@error('additional_info')
{{ $message }}
@enderror
{{-- Actions --}}