Add posts test
This commit is contained in:
parent
0df07c478a
commit
76229c8cc5
17 changed files with 278 additions and 0 deletions
12
app/views/posts/_post.html.erb
Normal file
12
app/views/posts/_post.html.erb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div id="<%= dom_id post %>">
|
||||
<p>
|
||||
<strong>Title:</strong>
|
||||
<%= post.title %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Body:</strong>
|
||||
<%= post.body %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue