2 @if(userCan('templates-manage'))
3 <p class="text-muted small mb-none">
4 {{ trans('entities.templates_explain_set_as_template') }}
6 @include('components.toggle-switch', [
8 'value' => old('template', $page->template ? 'true' : 'false') === 'true',
9 'label' => trans('entities.templates_set_as_template')
14 @if(count($templates) > 0)
15 <div class="search-box flexible mb-m">
16 <input type="text" name="template-search" placeholder="{{ trans('common.search') }}">
17 <button type="button">@icon('search')</button>
18 <button class="search-box-cancel text-neg hidden" type="button">@icon('close')</button>
22 <div template-manager-list>
23 @include('pages.template-manager-list', ['templates' => $templates])