1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 23:52:40 +01:00
BookStack/resources/views/components/entity-selector.blade.php

8 lines
571 B
PHP
Raw Normal View History

2016-06-25 16:31:38 +02:00
<div class="form-group">
<div entity-selector class="entity-selector {{$selectorSize or ''}}" entity-types="{{ $entityTypes or 'book,chapter,page' }}">
<input type="hidden" entity-selector-input name="{{$name}}" value="">
2016-12-04 15:08:04 +01:00
<input type="text" placeholder="{{ trans('common.search') }}" ng-model="search" ng-model-options="{debounce: 200}" ng-change="searchEntities()">
<div class="text-center loading" ng-show="loading">@include('partials.loading-icon')</div>
2016-06-25 16:31:38 +02:00
<div ng-show="!loading" ng-bind-html="entityResults"></div>
</div>
</div>