@foreach($comments as $comment)
<div class="row b-b m-b-5 font-12">
        <div class="col-xs-12 m-b-5">
            <span class="font-semi-bold">{{ ucwords($comment->user->name) }}</span> <span class="text-muted font-12">{{ ucfirst($comment->created_at->diffForHumans()) }}</span>
        </div>
        <div class="col-xs-10">
            {!! ucfirst($comment->comment)  !!}
        </div>
        @if($comment->user->id == $user->id || $user->can('delete_tasks'))
            <div class="col-xs-2 text-right">
                <a href="javascript:;" data-comment-id="{{ $comment->id }}" class="btn btn-xs  btn-outline btn-default" onclick="deleteComment('{{ $comment->id }}');return false;"><i class="fa fa-trash"></i> @lang('app.delete')</a>
            </div>
        @endif
    </div>
@endforeach