PostText/templates/view.html.ep

14 lines
397 B
Plaintext
Raw Normal View History

% layout 'main';
% title 'View Threads';
<h2><%= title %></h2>
<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>