aboutsummaryrefslogtreecommitdiff
path: root/interfaces/http/web/views/post.erb
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-03-02 21:35:44 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-03-02 21:35:44 +0100
commitd072b503f5ccc5d08f279aac463d37837cbbb576 (patch)
treef8f1265ea274ad1d4a32a8272da68187813231e6 /interfaces/http/web/views/post.erb
parent0882804d708fe5a1732c6b9faa7d9a2f369f5257 (diff)
downloadcomb-d072b503f5ccc5d08f279aac463d37837cbbb576.tar.gz
Add 'post' and 'not_found' views
Diffstat (limited to 'interfaces/http/web/views/post.erb')
-rw-r--r--interfaces/http/web/views/post.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/interfaces/http/web/views/post.erb b/interfaces/http/web/views/post.erb
new file mode 100644
index 0000000..1fe689a
--- /dev/null
+++ b/interfaces/http/web/views/post.erb
@@ -0,0 +1,7 @@
+<h1><%= @post.title %></h1>
+<div class="meta">
+ <p><%= @post.created_at %></p>
+</div>
+<div class="content">
+ <%= @post.body %>
+</div>