@extends('layouts.app') @section('title', 'Canned responses') @section('content')

Canned responses

{{ $responses->total() }} saved reply snippet(s) for support.

+ New response
@if ($responses->isEmpty()) @include('components.empty-state', [ 'icon' => '💬', 'title' => 'No canned responses', 'message' => 'Save the answers support types most often, so nobody retypes them.', ]) @else @foreach ($responses as $response) @endforeach
TitleCategoryPreviewStatus
{{ $response->title }} {{ title_case_words($response->category) }} {{ \Illuminate\Support\Str::limit($response->body, 110) }} {{ $response->is_active ? 'Active' : 'Disabled' }} Edit
@csrf @method('DELETE')
@endif
@if ($responses->hasPages())
{{ $responses->links('partials.pagination') }}
@endif
@endsection