blessing-skin-server/resources/views/setup/wizard/language.tpl
2017-01-18 22:31:35 +08:00

8 lines
374 B
PHP

<select id="language-chooser" onchange="refreshWithLangPrefer()">
@foreach(config('locales') as $code => $langInfo)
@if (!isset($langInfo['alias']))
<option value="{{ $code }}" {!! $code == config('app.locale') ? 'selected="selected"' : '' !!}>{{ $langInfo['short_name'] }} - {{ $langInfo['name'] }}</option>
@endif
@endforeach
</select>