2022-07-28 20:44:47 -04:00
|
|
|
% layout 'main';
|
|
|
|
% title 'View Threads';
|
|
|
|
<h2><%= title %></h2>
|
2022-08-04 22:46:35 -04:00
|
|
|
<div class="threads">
|
|
|
|
<% for my $thread (@$threads) { =%>
|
|
|
|
<article class="thread">
|
|
|
|
<h3 class="title"><%= %$thread{'title'} %></h3>
|
|
|
|
<h4 class="date"><%= %$thread{'date'} %></h4>
|
|
|
|
<h5 class="author"><%= %$thread{'author'} %></h5>
|
|
|
|
<p class="body"><%= %$thread{'body'} %></p>
|
|
|
|
</article>
|
|
|
|
<% } =%>
|
|
|
|
</div>
|