summaryrefslogtreecommitdiff
path: root/app/Template/board/comments.php
blob: 5424df78ef98c5c1bdfc032cb8f4acaff4ca1ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<section>
    <?php foreach ($comments as $comment): ?>
        <p class="comment-title">
            <span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%b %e, %Y, %k:%M %p', $comment['date']) ?></span>
        </p>

		<div class="comment-inner">
            <div class="markdown">
                <?= $this->markdown($comment['comment']) ?>
            </div>
        </div>
    <?php endforeach ?>
</section>