@extends('layouts.syndron.app') @section('content')

{{ __('Comments') }}

{{-- Optionally, add a button to create comments if applicable --}} {{-- --}} {{-- {{ __('Create a new comment') }} --}} {{-- --}}
@foreach ($comments as $comment) {{ $comment->name }} {{ Str::limit($comment->content, 50) }} ({{ $comment->rate }}) @for ($star = 1; $star <= 5; $star++) @if ($star <=$comment->rate) @else @endif @endfor {{ __($comment->status->value) }} @can('comment.status.update')
@csrf
@endcan @endforeach
@endsection