mosaicin
(evgruby)
1
<!-- CSS only -->
<!-- Post Content Column -->
<div class="col-lg-8">
<!-- Title -->
<h1 class="mt-4"><%= @post.title %></h1>
<!-- Author -->
<p class="lead">
</p>
<hr>
<!-- Date/Time -->
<p><%= @post.created_at %></p>
<hr>
<!-- Post Content -->
<%= @post.body %>
<hr>
<!-- Comments Form -->
<%= react_component("CommentsApp", { comments: @comments, replies: @replies, csrf_token: form_authenticity_token, post_id: @post.id }) %>
</div>
mosaicin
(evgruby)
2