{{ __('Admin · Automation · Templates') }}
{{ __('Bot Flow') }} {{ __('templates') }}.
{{ __('Build a standard flow once — a restaurant welcome, a lead qualifier — and every tenant can clone it into their workspace from the "Start from a template" gallery on Flows.') }}
{{ session('success') }}
@endif
{{-- KPI strip --}}
{{ __('Templates') }}
{{ number_format($stats['total'] ?? 0) }}
{{ __('total') }}
{{ __('Visible to tenants') }}
{{ number_format($stats['active'] ?? 0) }}
{{ __('active') }}
{{ __('Times cloned') }}
{{ number_format($stats['clones'] ?? 0) }}
{{ __('by tenants') }}
{{ __('Template') }}
{{ __('Type') }}
{{ __('Category') }}
{{ __('Steps') }}
{{ __('Clones') }}
{{ __('Actions') }}
{{ $t->name }}
@unless ($t->is_active)
{{ __('hidden') }}
@endunless
@if ($t->description)
{{ \Illuminate\Support\Str::limit($t->description, 90) }}
@endif
{{ $tb[0] }}
{{ $t->category ?: '—' }}
{{ $t->node_count }}
{{ number_format($t->clone_count) }}
{{ __('No templates yet') }}
{{ __('Build a flow in the builder, export it, then add it here — or paste its JSON. Active templates show up in every tenant\'s Flows page.') }}
{{ __('Add your first template') }}{{ $templates->links() }}
@endif