PostText/templates/remark_id.html.ep
2022-09-20 21:16:42 -04:00

15 lines
443 B
Plaintext

% layout 'main';
% title "Remark #$remark->{'id'}";
<h2><%= title %></h2>
<div class="remarks">
<article class="remark">
<span class="id">#<%= $remark->{'id'} %></span>
<h4 class="date"><%= $remark->{'date'} %></h4>
<h5 class="author"><%= $remark->{'author'} %></h5>
<p class="body"><%= $remark->{'body'} %></p>
</article>
</div>
<nav>
<%= link_to Thread => thread_page => {thread_id => $remark->{'thread_id'}} %>
</nav>