aboutsummaryrefslogtreecommitdiff
path: root/src/views/blog/list-item.ecr
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/blog/list-item.ecr')
-rw-r--r--src/views/blog/list-item.ecr7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/views/blog/list-item.ecr b/src/views/blog/list-item.ecr
index 13131e0..23b868e 100644
--- a/src/views/blog/list-item.ecr
+++ b/src/views/blog/list-item.ecr
@@ -1,3 +1,8 @@
<div class='post'>
- id: <%= @post_id %>
+ <b><%= h(@item["name"]) %></b><br/>
+ <b>
+ by <%= h(@item["user_name"]) %>
+ on <%= h(@item["posted_at_text"]) %>
+ </b><br/><br/>
+ <%= @item["body"] %>
</div>