@if(userCan('templates-manage'))

{{ trans('entities.templates_explain_set_as_template') }}

@include('form.toggle-switch', [ 'name' => 'template', 'value' => old('template', $page->template ? 'true' : 'false') === 'true', 'label' => trans('entities.templates_set_as_template') ])
@endif @if(count($templates) > 0) @endif
@include('pages.parts.template-manager-list', ['templates' => $templates])