% unless @post.nil? %>
<%= summary_for_post @post %>
<%= markup @post.contents %>
This field supports <%= link_to 'Markdown', 'http://daringfireball.net/projects/markdown/basics', :title => 'The basics of the Markdown markup.' %>.
<%= f.text_area :contents, :size => '70x10' %>
<%= submit_tag 'Add your comment' %>
<% end -%> <% else %>You need to be logged in to leave a comment.
<% end %> <% else %>Sorry about that.
<% end %>
<%= link_to_person_icon(comment.person, '30x30') %> <%= link_to_person(comment.person) %>
<%= summary_for_comment(comment, false) %> <%= link_to_comment(comment, '#') %>
<%= markup comment.contents %>