mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-03 22:33:38 +08:00
7ebe7d4e58
- Adapted existing page picker to be usable elsewhere. - Added endpoint for getting templates for entity picker. - Added search template filter to support above. - Updated book save handling to check/validate submitted template. - Allows non-visible pages to flow through the save process, if not being changed. - Updated page deletes to handle removal of default usage on books. - Tweaked wording and form styles to suit. - Updated migration to explicity reflect default value.
14 lines
729 B
PHP
14 lines
729 B
PHP
<div id="entity-selector-wrap">
|
|
<div components="popup entity-selector-popup" class="popup-background">
|
|
<div class="popup-body small" tabindex="-1">
|
|
<div class="popup-header primary-background">
|
|
<div class="popup-title">{{ trans('entities.entity_select') }}</div>
|
|
<button refs="popup@hide" type="button" class="popup-header-close">@icon('close')</button>
|
|
</div>
|
|
@include('entities.selector', ['name' => 'entity-selector'])
|
|
<div class="popup-footer">
|
|
<button refs="entity-selector-popup@select" type="button" disabled class="button">{{ trans('common.select') }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |