guestbook-ng/templates/index.html.ep

27 lines
432 B
Plaintext
Raw Normal View History

2021-12-04 05:11:37 +00:00
% layout 'default';
2021-12-19 22:43:58 +00:00
% title 'View';
<h2>Messages from the World Wide Web</h2>
<table>
<% for my $row (@$view_posts) { %>
2021-12-19 05:59:36 +00: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 05:59:36 +00:00
</table>
2021-12-31 03:04:31 +00:00
<center>
<%= pagination($this_page, $last_page, '?page={page}') %>
</center>