]> BookStack Code Mirror - bookstack/blob - resources/views/entities/selector.blade.php
Comments: Added HTML filter on load, tinymce elem filtering
[bookstack] / resources / views / entities / selector.blade.php
1 <div class="form-group entity-selector-container">
2     <div component="entity-selector"
3          refs="entity-selector-popup@selector"
4          class="entity-selector {{$selectorSize ?? ''}}"
5          option:entity-selector:entity-types="{{ $entityTypes ?? 'book,chapter,page' }}"
6          option:entity-selector:entity-permission="{{ $entityPermission ?? 'view' }}"
7          option:entity-selector:search-endpoint="{{ $selectorEndpoint ?? '/search/entity-selector' }}">
8         <input refs="entity-selector@input" type="hidden" name="{{$name}}" value="">
9         <input refs="entity-selector@search" type="text" placeholder="{{ trans('common.search') }}" @if($autofocus ?? false) autofocus @endif>
10         <div class="text-center loading" refs="entity-selector@loading">@include('common.loading-icon')</div>
11         <div refs="entity-selector@results"></div>
12     </div>
13 </div>