{{-- TemplatePicker — modal triggered by the parent composer via $dispatch('open-template-picker'). Emits `template-inserted` with the rendered HTML when a template is picked. --}}
@if($isOpen)
{{-- Header --}}

{{ __('Insert template') }}

{{-- Filters --}}
{{-- List --}}
@if($this->templates->isEmpty())
{{ __('No templates match. Try a different search or category.') }}
@else
@foreach($this->templates as $template) @endforeach
@endif
{{-- Footer --}}
@endif