mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
31 lines
440 B
Text
31 lines
440 B
Text
<p class="notice"><%= notice %></p>
|
|
|
|
<p>
|
|
<b>Name:</b>
|
|
<%= @post.name %>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Title:</b>
|
|
<%= @post.title %>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Content:</b>
|
|
<%= @post.content %>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Tags:</b>
|
|
<%= join_tags(@post) %>
|
|
</p>
|
|
|
|
<h2>Comments</h2>
|
|
<%= render @post.comments %>
|
|
|
|
<h2>Add a comment:</h2>
|
|
<%= render "comments/form" %>
|
|
|
|
|
|
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
|
<%= link_to 'Back to Posts', posts_path %> |
|