aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/comment/preview.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/comment/preview.rhtml')
-rw-r--r--app/views/comment/preview.rhtml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/comment/preview.rhtml b/app/views/comment/preview.rhtml
index 39f99e889..a724d9117 100644
--- a/app/views/comment/preview.rhtml
+++ b/app/views/comment/preview.rhtml
@@ -4,15 +4,13 @@
<h1>Now preview your annotation</h1>
- <p class="comment_in_request">
- <%= @comment.get_body_for_html_display %>
- <%= f.hidden_field(:body) %>
- </p>
+ <%= render :partial => 'comment/single_comment', :locals => { :comment => @comment } %>
<p>
Your name and annotation will appear in <strong>search engines</strong>.
<p>
+ <%= f.hidden_field(:body) %>
<%= hidden_field_tag(:submitted_comment, 1) %>
<%= hidden_field_tag(:preview, 0 ) %>
<%= submit_tag "Re-edit this annotation", :name => 'reedit' %>