@extends('layouts.admin')
@section('title', 'Testimonials')
@section('content')
Add Testimonial
@if ($testimonials->count())
@foreach ($testimonials as $testimonial)
@if ($testimonial->photo)
@else
{{ strtoupper(substr($testimonial->name, 0, 1)) }}
@endif
{{ $testimonial->name }}
{{ $testimonial->occupation ?: '—' }}
{{ ucfirst($testimonial->status) }}
@for ($i = 1; $i <= 5; $i++)
@endfor
{{ $testimonial->message }}
@endforeach
@else
@endif
@endsection