@foreach($pirep->comments as $comment) @endforeach
{!! $comment->user->name !!}

{!! $comment->comment !!}

{!! show_datetime($comment->created_at) !!}

{!! Form::open(['url' => url('/admin/pireps/'.$pirep->id.'/comments'), 'method' => 'delete', 'class' => 'pjax_form form-inline']) !!} {!! Form::hidden('comment_id', $comment->id) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-danger btn-small', 'onclick' => "return confirm('Are you sure?')", ]) !!} {!! Form::close() !!}

{!! Form::open(['url' => url('/admin/pireps/'.$pirep->id.'/comments'), 'method' => 'post', 'class' => 'pjax_form form-inline']) !!} {!! Form::input('text', 'comment', null, ['class' => 'form-control input-sm']) !!} {!! Form::button(' Add', ['type' => 'submit', 'class' => 'btn btn-success btn-small']) !!} {!! Form::close() !!}