aboutsummaryrefslogtreecommitdiff
path: root/t/post.t
diff options
context:
space:
mode:
Diffstat (limited to 't/post.t')
-rw-r--r--t/post.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/post.t b/t/post.t
index a74f29a..56d3c37 100644
--- a/t/post.t
+++ b/t/post.t
@@ -1 +1,7 @@
-<h1>Post <% printf("%d", id); %></h1>
+<h1>Post <% printf("%d", id); %>: <%= post->subject %></h1>
+<p>From: <%= user->full %>
+&lt;<a href="?user=<% printf("%d", user->id); %>"><%= user->name %></a>&gt;
+<br>Date: <% PFREE(date(post->created)); %>
+<pre>
+<%= post->text %>
+</pre> \ No newline at end of file