guestbook-ng/templates/index.html.ep

25 lines
411 B
Plaintext
Raw Normal View History

2021-12-04 00:11:37 -05:00
% layout 'default';
2021-12-19 17:43:58 -05:00
% title 'View';
<h2>Messages from the World Wide Web</h2>
<table>
<% for my $row (@$view_posts) { %>
2021-12-19 00:59:36 -05:00
<tr>
<th>Date:</th>
<td><%= @$row[0] %></td>
</tr>
<tr>
<th>Name:</th>
<td><%= @$row[1] %></td>
</tr>
<tr>
<th>Message:</th>
<td><%= @$row[2] %></td>
</tr>
<tr>
<th>&nbsp;</th>
<td>&nbsp;</td>
</tr>
<% } %>
2021-12-19 00:59:36 -05:00
</table>
2021-12-11 21:02:54 -05:00
<%= pagination($this_page, $last_page, '?page={page}') %>