@use('\Illuminate\Support\Str', 'Str') Testimony
  • @if (!$add && !$edit)
    @if ($tests->count() == 0)

    No Data Found

    @else
    @foreach ($tests as $test) @endforeach
    Name Position Comment Date
     
    {{ $test->name }}
    {{ $test->position }} {{ Str::limit($test->what_is_said, 80, '...') }} {{ $test->created_at->toDayDateTimeString() }}
    @endif
    @endif @if ($add)
    @error('what_is_said') {{ $message }} @enderror
    @foreach ($this->medias as $image)
    @endforeach
    @error('picture') {{ $message }} @enderror
    Save Cancel
    @endif @if ($edit)
    @error('what_is_said') {{ $message }} @enderror
    @foreach ($this->medias as $image)
    @endforeach
    @error('picture') {{ $message }} @enderror
    Save Cancel
    @endif
    {{-- --}}