mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
37bf7f11e4
- Also showed entity path in search. - Cleaned popular entity fetch logic. - Cleaned entity selector JS code a little
8 lines
548 B
PHP
8 lines
548 B
PHP
<div class="form-group">
|
|
<div entity-selector class="entity-selector {{$selectorSize or ''}}" entity-types="{{ $entityTypes or 'book,chapter,page' }}" entity-permission="{{ $entityPermission or 'view' }}">
|
|
<input type="hidden" entity-selector-input name="{{$name}}" value="">
|
|
<input type="text" placeholder="{{ trans('common.search') }}" entity-selector-search>
|
|
<div class="text-center loading" entity-selector-loading>@include('partials.loading-icon')</div>
|
|
<div entity-selector-results></div>
|
|
</div>
|
|
</div> |