blob: 8c651bb368692afc653ad91d32560cf0a31c0e9d (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<% @title = "Preview new " + h(@info_request.law_used_short) + " request to '" + h(@info_request.public_body.name) + "'" %>
<% form_for(:info_request, @info_request, :html => { :id => 'preview_form' } ) do |f| %>
<h1>Now preview your request</h1>
<ul>
<li>Check you haven't included any <strong>personal information</strong>.</li>
<li>Your name, request and any responses will appear in <strong>search engines</strong>
(<a href="/help/privacy#public_request">details</a>).
</li>
</ul>
<% fields_for :outgoing_message do |o| %>
<div class="correspondence" id="outgoing-0">
<p class="preview_subject">
<strong>To:</strong> <%=h @info_request.public_body.name %>
<br><strong>Subject:</strong> <%=h @info_request.email_subject_request %>
</p>
<div class="correspondence_text">
<p><%= @outgoing_message.get_body_for_html_display %></p>
<%= o.hidden_field(:body) %>
</div>
<p class="event_actions">
</p>
</div>
<% end %>
<p><strong>Privacy note:</strong> If you want to request private information about
yourself then <a href="/help/requesting#data_protection">click here</a>.
<p>
<%= f.hidden_field(:title) %>
<%= f.hidden_field(:public_body_id, { :value => @info_request.public_body_id } ) %>
<%= f.hidden_field(:tag_string) %>
<%= hidden_field_tag(:submitted_new_request, 1) %>
<%= hidden_field_tag(:preview, 0 ) %>
<%= submit_tag "Re-edit this request", :name => 'reedit' %>
<%= submit_tag "Send public " + h(@info_request.law_used_full) + " request", :name => 'submit' %>
</p>
<% if !@info_request.tag_string.empty? %>
<p><strong>Tags:</strong> <%=h @info_request.tag_string %></p>
<% end %>
<% end %>
|