{{-- Button to create new template --}}
@can('Create email templates') Add New Email Template @endcan
{{-- Table for listing email templates --}}
@forelse($templates as $template) @empty @endforelse
ID Code Name Subject Actions
{{ $template->id }} {{ $template->code ?? 'N/A' }} {{ $template->name }} {{ $template->subject }} @can('Update email templates') Edit @endcan @can('Delete email templates') @endcan
No email templates found.
{{-- Confirmation Modal --}}