@extends('layouts.app') @section('title', 'Toolbox Talk Templates') @section('content')
Back to Talks

Toolbox Talk Templates

Create Template
@if(session('success'))
{{ session('success') }}
@endif @if($templates->isEmpty())

No Templates Found

Create your first template to speed up talk creation.

Create Template
@else
@foreach($templates as $template) @endforeach
Name Type Duration Topic Usage Status Actions

{{ $template->name }}

@if($template->description)

{{ Str::limit($template->description, 50) }}

@endif
{{ ucfirst(str_replace('_', ' ', $template->talk_type)) }} {{ $template->duration_minutes }} min {{ $template->topic ? $template->topic->title : 'N/A' }} {{ $template->usage_count }} times @if($template->is_active) Active @else Inactive @endif
@csrf @method('DELETE')
{{ $templates->links() }}
@endif
@endsection