2016-06-25 16:31:38 +02:00
< div class = " form-group " >
2018-04-14 19:00:16 +02:00
< div entity - selector class = " entity-selector { { $selectorSize or '' } } " entity - types = " { { $entityTypes or 'book,chapter,page' }} " entity - permission = " { { $entityPermission or 'view' }} " >
2016-06-25 16:31:38 +02:00
< input type = " hidden " entity - selector - input name = " { { $name } } " value = " " >
2017-08-27 15:31:34 +02:00
< 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 >
2019-04-06 17:56:50 +02:00
@ if ( $showAdd )
< div class = " entity-selector-add " >
< button entity - selector - add - button type = " button "
class = " button outline " >@ icon ( 'add' ){{ trans ( 'common.add' ) }} </ button >
</ div >
@ endif
2016-06-25 16:31:38 +02:00
</ div >
2019-03-30 17:54:15 +01:00
</ div >