@foreach ($discussionReplies as $key=>$reply)
@if ($key == 0)

{{ $discussion->title }}

{{ ucwords($discussion->category->name) }}
{!! Form::hidden('project_id', $discussion->project_id, ['id' => 'project_id']) !!}
@endif
user
@if ($key != 0 && is_null($discussion->best_answer_id) && $discussion->user_id == $user->id) @elseif($discussion->best_answer_id == $reply->id)
@endif
@lang('app.reply') @if($discussion->best_answer_id == $reply->id && $discussion->user_id == $user->id) @lang('modules.discussions.removeBestReply') @endif @if ($reply->user_id == $user->id) @lang('app.edit') @if ($key != 0) @lang('app.delete') @endif @endif
@endforeach