This commit is contained in:
2026-03-20 21:17:26 +01:00
parent 1a62fcb81d
commit 29c3ff8572
229 changed files with 13147 additions and 2577 deletions

View File

@@ -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>