aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/streams
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tg16/streams')
0 files changed, 0 insertions, 0 deletions
ion value='hotfix/0.19.1'>hotfix/0.19.1 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/comment/preview.rhtml
blob: 38c5fe1ff2d7d6a1afdd9ad206edc0af1ffa2a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<% @title = "Preview new annotation on '" + 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 %>