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.rhtml26
1 files changed, 0 insertions, 26 deletions
diff --git a/app/views/comment/preview.rhtml b/app/views/comment/preview.rhtml
deleted file mode 100644
index 702bd9a9b..000000000
--- a/app/views/comment/preview.rhtml
+++ /dev/null
@@ -1,26 +0,0 @@
-<% @title = _("Preview new annotation on '{{info_request_title}}'",:info_request_title=>h(@info_request.title)) %>
-
-<% form_for(:comment, @comment, :html => { :id => 'preview_form' }, :url => { :controller => "comment", :action => "new", :type => "request" } ) do |f| %>
-
- <h1><%= _('Now preview your annotation') %></h1>
-
- <%= render :partial => 'comment/single_comment', :locals => { :comment => @comment } %>
-
- <p>
- <%= _('Your name and annotation will appear in <strong>search engines</strong>.')%>
- </p>
-
- <p>
- <%= f.hidden_field(:body) %>
- <% if params[:subscribe_to_request] %>
- <%= hidden_field_tag(:subscribe_to_request, "1") %>
- <% end %>
- <%= hidden_field_tag(:submitted_comment, 1) %>
- <%= hidden_field_tag(:preview, 0 ) %>
- <%= submit_tag _("Re-edit this annotation"), :name => 'reedit' %>
- <%= submit_tag _("Post annotation"), :name => 'submit' %>
- </p>
-
-<% end %>
-
-