<%= flash_messages %>
<%= t('blog.body') %> <%=h @post.body %>
<%=h c.name %> said:
<%= time_ago_in_words(c.created_at) %> ago
<%=h c.body %>
<% end %> <%= form_for Comment.new, :url => panel_blog_comments_path do |f| %>
<%= f.label :name, "Author" %>
<%= f.text_field :name %>
<%= f.label :body, "Comment Description" %>
<%= f.text_area :body %>
<%= hidden_field_tag :post_id, @post.id %>
<%= f.submit "Add Comment" %>
<% end %> <%= link_to t('blog.edit'), edit_panel_blog_post_path(@post) %> | <%= link_back %>