mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Hide countries with no calling code assigned
This commit is contained in:
parent
bcf81bce4d
commit
a0b045b087
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@
|
|||
<option value=""></option>
|
||||
@foreach ($countries as $country)
|
||||
@php
|
||||
if (!$country->calling_code) {
|
||||
continue;
|
||||
}
|
||||
$country_name = $lang_type === 'ko' ? $country->name_korean : $country->name_english;
|
||||
if ($selected_iso_code) {
|
||||
$is_selected = $selected_iso_code === $country->iso_3166_1_alpha3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue