Update form field to use states
This commit is contained in:
parent
7be6252233
commit
631814db26
1 changed files with 5 additions and 1 deletions
|
|
@ -72,7 +72,11 @@
|
|||
@endcomponent
|
||||
|
||||
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.state')])
|
||||
<input class="input w-full" id="billing-region" type="text" required>
|
||||
<select class="input w-full" id="billing-region">
|
||||
@foreach(\App\DataProviders\USStates::get() as $code => $state)
|
||||
<option value="{{ $code }}">{{ $state }} ({{ $code }})</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@endcomponent
|
||||
|
||||
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.postal_code')])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue