PostText/templates/remark_id.html.ep

15 lines
443 B
Plaintext
Raw Normal View History

2022-09-02 22:45:41 -04:00
% layout 'main';
2022-09-20 21:16:42 -04:00
% title "Remark #$remark->{'id'}";
2022-09-02 22:45:41 -04:00
<h2><%= title %></h2>
<div class="remarks">
<article class="remark">
2022-09-20 21:16:42 -04:00
<span class="id">#<%= $remark->{'id'} %></span>
<h4 class="date"><%= $remark->{'date'} %></h4>
<h5 class="author"><%= $remark->{'author'} %></h5>
<p class="body"><%= $remark->{'body'} %></p>
2022-09-02 22:45:41 -04:00
</article>
</div>
<nav>
<%= link_to Thread => thread_page => {thread_id => $remark->{'thread_id'}} %>
</nav>