@extends('layouts.app') @push('css') @endpush @section('content')
Forum
Create By
{{ $forum->user->name }}
@if (empty($favourit)) @else @endif
@if (Auth::user()->id == $forum->user_id)
@endif

{{ $forum->title }}

{{ strip_tags($forum->description) }}
@foreach ($replys as $reply)
Reply By {{ $reply->user->name }}
{{ $reply->created_at->diffForHumans() }}

{{ $reply->comment }}

@php $user = Auth::user()->id; @endphp @if ($user == $reply->user_id) @endif
@endforeach
@csrf
@error('comment') {{ $message }} @enderror
@endsection @push('js') @endpush