aboutsummaryrefslogtreecommitdiff
path: root/interfaces/http/web/views/post.erb
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/http/web/views/post.erb')
-rw-r--r--interfaces/http/web/views/post.erb9
1 files changed, 7 insertions, 2 deletions
diff --git a/interfaces/http/web/views/post.erb b/interfaces/http/web/views/post.erb
index 1fe689a..21794fb 100644
--- a/interfaces/http/web/views/post.erb
+++ b/interfaces/http/web/views/post.erb
@@ -1,7 +1,12 @@
<h1><%= @post.title %></h1>
<div class="meta">
- <p><%= @post.created_at %></p>
+ <p>
+ by
+ <%= @post.user.name || @post.user.username %>
+ on
+ <%= @post.created_at.strftime('%e %b %Y') %>
+ </p>
</div>
<div class="content">
<%= @post.body %>
-</div>
+</div> \ No newline at end of file