]> BookStack Code Mirror - bookstack/blob - resources/views/components/entity-selector.blade.php
#47 - Fixes the issues with the test case.
[bookstack] / resources / views / components / entity-selector.blade.php
1 <div class="form-group">
2     <div entity-selector class="entity-selector {{$selectorSize or ''}}" entity-types="{{ $entityTypes or 'book,chapter,page' }}">
3         <input type="hidden" entity-selector-input name="{{$name}}" value="">
4         <input type="text" placeholder="{{ trans('common.search') }}" ng-model="search" ng-model-options="{debounce: 200}" ng-change="searchEntities()">
5         <div class="text-center loading" ng-show="loading">@include('partials.loading-icon')</div>
6         <div ng-show="!loading" ng-bind-html="entityResults"></div>
7     </div>
8 </div>