@if(Auth::check() == true)
{{ Form::open(array('files'=> TRUE,'role'=>'form')) }}
{{ Form::textarea('comment','',array('class'=>"form-control",'rows'=>2,'placeholder'=>t('Comment'))) }}
{{ Form::submit(t('Comment'),array('class'=>'btn btn-info')) }} {{ Form::close() }}
@endif
4 {!! Lang::get('core.response')!!}
@foreach($course->comments as $comment)
{{ $comment->user->fullname }} @if(Auth::check()) @if(checkFollow($comment->user->id)) @else @endif @endif
{{ $comment->user->fullname }}
{{ Smilies::parse(e($comment->comment)) }}
{{ date(DATE_ISO8601,strtotime($comment->created_at)) }} 
@if(Auth::check() == TRUE) @if($comment->user_id == Auth::user()->id) @endif @endif @if(Auth::check() == TRUE) {{ t('Reply') }}
{{ Form::textarea('comment','',array('id'=>'textboxcontent'.$comment->id,'class'=>"form-control",'rows'=>2,'placeholder'=>t('Comment'))) }} {{ t('Cancel') }}
@endif @foreach($comment->reply as $reply)

{{ $reply->user->fullname }}

{{ $reply->user->fullname }} @if(Auth::check() == TRUE) @if($reply->user_id == Auth::user()->id || $reply->comment->user->id == Auth::user()->id) @endif @endif {{ date(DATE_ISO8601,strtotime($reply->created_at)) }} 

{{ Smilies::parse(e($reply->reply)) }}
@endforeach {{$reply->links}}
@endforeach