Skip to content

Commit c2c4c87

Browse files
committed
fix: countries collection missing method
Change-Id: I3862d93b01d4cabce36f1cff5a1be517d9fe0d42
1 parent cfde1b7 commit c2c4c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/admin/add-user-form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<select id="country_iso_code" class="form-control" name="country_iso_code" required autofocus data-lpignore="true">
1717
<option value="">--SELECT A COUNTRY --</option>
1818
@foreach($countries as $country)
19-
<option value="{!! $country->getAlpha2() !!}">{!! $country->getName() !!}</option>
19+
<option value="{!! $country['alpha2'] !!}">{!! $country['name'] !!}</option>
2020
@endforeach
2121
</select>
2222
</div>

0 commit comments

Comments
 (0)