@foreach($pirep->comments as $comment) | ||
---|---|---|
{!! $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']) !!} {!! Form::close() !!} |