ecomm-store/src/views/lib/form/address.twig
count-null 27df1a73b5 save
2025-02-15 00:21:37 -05:00

55 lines
1.4 KiB
Twig

<div class="flex flex-col gap-4 mb-4">
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_name',
label: 'Name',
value: name
} %}
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_company',
label: 'Company',
optional: true,
value: company
} %}
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_addressLine1',
label: 'Address Line 1',
value: addressLine1
} %}
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_addressLine2',
label: 'Address Line 2',
optional: true,
value: addressLine2
} %}
<div class="flex gap-4">
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_city',
label: 'City',
value: city
} %}
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_state',
label: 'State',
value: state
} %}
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_zip',
label: 'Zip',
value: zip
} %}
</div>
{% include 'lib/input.twig' with {
type: 'text',
name: action ~ '_phone',
label: 'Phone',
value: phone
} %}
</div>