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

{{ $question->title }} {{ $question->category->name }}

({{ $question->answers->count() }}) {{ __('answers') }}


{{ $question->body }}

@forelse ($answers as $answer )
 علیرضا هادی زاده
{{ $answer->user->name }}:

{{ $answer->body }}

{{ $answer->created_at->diffForHumans() }}

@csrf
{{ $answer->vote_score }}
@auth
@if (auth()->check() && $question->user_id == auth()->user()->id)
@csrf

@endif
@csrf
@error('body') {{ $message }} @enderror
@csrf
@error('body') {{ $message }} @enderror
@endauth @foreach ($answer->comments as $comment )
 علیرضا هادی زاده
{{ $comment?->user?->name }}:

{{ $comment->body }}

{{ $comment->created_at->diffForHumans() }}

@endforeach
@empty
{{ __('Not Found') }}
@endforelse {{ $answers->links('pagination.blesser') }} @auth

{{ __('submit your answer') }}


@session('success')
{{ session('success') }}
@endsession
@csrf
@error('body') {{ $message }} @enderror
@endauth
@endsection