<ul class="list-unstyled">
    <?php $__currentLoopData = $replies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $reply): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <li class=" media" name="reply<?php echo e($reply->id, false); ?>" id="reply<?php echo e($reply->id, false); ?>">
            <div class="media-left">
                <a href="<?php echo e(route('users.show', [$reply->user_id]), false); ?>">
                    <img class="media-object img-thumbnail mr-3" alt="<?php echo e($reply->user->name, false); ?>"
                         src="<?php echo e($reply->user->avatar, false); ?>" style="width:48px;height:48px;"/>
                </a>
            </div>

            <div class="media-body">
                <div class="media-heading mt-0 mb-1 text-secondary">
                    <a href="<?php echo e(route('users.show', [$reply->user_id]), false); ?>" title="<?php echo e($reply->user->name, false); ?>">
                        <?php echo e($reply->user->name, false); ?>

                    </a>
                    <span class="text-secondary"> • </span>
                    <span class="meta text-secondary"
                          title="<?php echo e($reply->created_at, false); ?>"><?php echo e($reply->created_at->diffForHumans(), false); ?></span>

                    
                    
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('destroy', $reply)): ?>
                        <span class="meta float-right">
                          <form action="<?php echo e(route('replies.destroy', $reply->id), false); ?>"
                                onsubmit="return confirm('确定要删除此评论？');"
                                method="post">
                              <?php echo e(csrf_field(), false); ?>

                              <?php echo e(method_field('DELETE'), false); ?>

                            <button type="submit" class="btn btn-default btn-xs pull-left text-secondary">
                              <i class="far fa-trash-alt"></i>
                            </button>
                          </form>
                        </span>
                    <?php endif; ?>
                </div>
                <div class="reply-content text-secondary">
                    <?php echo $reply->content; ?>

                </div>
            </div>
        </li>

        <?php if( ! $loop->last): ?>
            <hr>
        <?php endif; ?>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php /**PATH C:\Users\Administrator\Desktop\1\jiangqiangdexiaocao-master\resources\views/posts/_reply_list.blade.php ENDPATH**/ ?>