mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 05:02:01 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Required changing the docs generator to handle more complex object-style rules. Bit of a hack for some types (password). - Extracted core update logic to repo for sharing with API. - Moved user update language string to align with activity/logging system. - Added tests to cover.
18 lines
637 B
PHP
18 lines
637 B
PHP
{{--
|
|
$value - Currently selected lanuage value
|
|
--}}
|
|
<div class="grid half gap-xl v-center">
|
|
<div>
|
|
<label for="user-language" class="setting-list-label">{{ trans('settings.users_preferred_language') }}</label>
|
|
<p class="small">
|
|
{{ trans('settings.users_preferred_language_desc') }}
|
|
</p>
|
|
</div>
|
|
<div>
|
|
<select name="language" id="user-language">
|
|
@foreach(trans('settings.language_select') as $lang => $label)
|
|
<option @if($value === $lang) selected @endif value="{{ $lang }}">{{ $label }}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
</div> |