Uses locale config from env while install
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
<div class="mb-0">
|
||||
<select name="lang" id="lang" size="14" class="w-full text-black text-sm font-medium">
|
||||
@foreach (language()->allowed() as $code => $name)
|
||||
<option value="{{ $code }}" @if ($code=='en-GB' ) {{ 'selected="selected"' }} @endif>{{ $name }}</option>
|
||||
<option value="{{ $code }}" @if ($code == $locale) {{ 'selected="selected"' }} @endif>{{ $name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user