update
This commit is contained in:
@@ -76,6 +76,21 @@
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@if (! empty($countries))
|
||||
<div>
|
||||
<x-input-label for="country_id" :value="__('Country')" />
|
||||
<select id="country_id" name="country_id" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500">
|
||||
<option value="">{{ __('Choose country') }}</option>
|
||||
@foreach ($countries as $country)
|
||||
<option value="{{ $country['id'] }}" @selected((string) old('country_id', $selectedCountryId ?? $user->country_id) === (string) $country['id'])>
|
||||
{{ $country['flag_emoji'] ? $country['flag_emoji'].' ' : '' }}{{ $country['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
<x-input-error class="mt-2" :messages="$errors->get('country_id')" />
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Posts & Feed Settings --}}
|
||||
<div class="border-t border-gray-200 pt-6">
|
||||
<h3 class="text-sm font-medium text-gray-900">{{ __('Posts & Feed') }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user