mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 20:02:35 +01:00
6eadf3efb3
- Updated user invite to take language from user. - Added tests to cover. - Added page/tab title to user create view. For #2576 and #2408
18 lines
646 B
PHP
18 lines
646 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="setting[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> |