관리-도구
편집 파일: f061baa3de078c6b5186b5ba3b3ded5f1410f8ee.php
<?php $__currentLoopData = $comments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="single-comment <?php echo e($comment->parent_id != null ? 'left' : ''); ?>"> <img src="<?php echo e(profile_picture($comment->user->profile_picture)); ?>" alt="#"> <div class="content"> <h4><?php echo e($comment->user->name); ?> <span><?php echo e(_lang('At').' '.$comment->created_at); ?> </span></h4> <p><?php echo e($comment->body); ?></p> <?php if(auth()->check()): ?> <div class="button"> <a href="#" class="btn reply-btn-toggle"><i class="fa fa-reply" aria-hidden="true"></i><?php echo e(_lang('Reply')); ?></a> </div> <form method="post" class="reply-form comment-form d-none" action="<?php echo e(route('comments.store')); ?>"> <?php echo csrf_field(); ?> <div class="form-group"> <input type="text" name="body" class="form-control" required/> <input type="hidden" name="product_id" value="<?php echo e($comment->product_id); ?>" /> <input type="hidden" name="parent_id" value="<?php echo e($comment->id); ?>" /> </div> <div class="form-group"> <button type="submit" class="btn-reply"><?php echo e(_lang('Reply')); ?></button> </div> </form> <?php else: ?> <div class="button"> <a href="<?php echo e(url('sign_in')); ?>" class="btn"><i class="fa fa-reply" aria-hidden="true"></i><?php echo e(_lang('Reply')); ?></a> </div> <?php endif; ?> </div> </div> <?php echo $__env->make('theme.default.components.comments', ['comments' => $comment->replies], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/theme/default/components/comments.blade.php ENDPATH**/ ?>