+
+ @if($type === 'page' || $type === 'chapter')
+ <hr>
+ <label class="setting-list-label">{{ trans('entities.import_location') }}</label>
+ <p class="small mb-m">{{ trans('entities.import_location_desc') }}</p>
+ @include('entities.selector', [
+ 'name' => 'parent',
+ 'entityTypes' => $type === 'page' ? 'chapter,book' : 'book',
+ 'entityPermission' => "{$type}-create",
+ 'selectorSize' => 'compact small',
+ ])
+ @include('form.errors', ['name' => 'parent'])
+ @endif