mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-13 05:53:55 +08:00
b649738718
- Removed having sort items in tabbing order since they have no action. - Updated "show other books" list to add upon single selection since it was not clear how these were added (double press) without then seeing the add button, and even then the add button would be after the scroll list.
12 lines
774 B
PHP
12 lines
774 B
PHP
<div class="form-group entity-selector-container">
|
|
<div component="entity-selector"
|
|
refs="entity-selector-popup@selector"
|
|
class="entity-selector {{$selectorSize ?? ''}}"
|
|
option:entity-selector:entity-types="{{ $entityTypes ?? 'book,chapter,page' }}"
|
|
option:entity-selector:entity-permission="{{ $entityPermission ?? 'view' }}">
|
|
<input refs="entity-selector@input" type="hidden" name="{{$name}}" value="">
|
|
<input refs="entity-selector@search" type="text" placeholder="{{ trans('common.search') }}" @if($autofocus ?? false) autofocus @endif>
|
|
<div class="text-center loading" refs="entity-selector@loading">@include('common.loading-icon')</div>
|
|
<div refs="entity-selector@results"></div>
|
|
</div>
|
|
</div> |