frontend add post toolbar; so far displaying postdate
This commit is contained in:
@ -12,15 +12,15 @@
|
||||
<% end %>
|
||||
|
||||
<h2>
|
||||
<%= @thread.title %>
|
||||
<%= raw @thread.title %>
|
||||
</h2>
|
||||
|
||||
<div class="thread my-8">
|
||||
<.pagination socket={@socket} thread={@thread} />
|
||||
|
||||
<%= for post <- @thread.posts do %>
|
||||
<.post author={post.userinfo} article={post.postbody} />
|
||||
<% end %>
|
||||
<.post author={post.userinfo} article={post.postbody} date={post.postdate} />
|
||||
<% end %>
|
||||
|
||||
<.pagination socket={@socket} thread={@thread} />
|
||||
<.pagination socket={@socket} thread={@thread} />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user