aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_request/edit_outgoing.rhtml
blob: d516396bdfb96e60b2dd174e89dcc0e68c61b12c (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
<h1>Edit outgoing message</h1>

<%= error_messages_for 'outgoing_message' %>

<% form_tag '../update_outgoing/' + @outgoing_message.id.to_s do %>

   <p><label for="outgoing_message_body">Body of message</label><br/>
   <%= text_area 'outgoing_message', 'body', :rows => 10, :cols => 60  %></p>

  <p><strong>Note:</strong> This is mainly to be used to excise information
  that users inadvertently put in their messages, not realising it would be
  public. It will already have been sent to the public body, and their
  reply may also include that information and be automatically published on
  this site.</p>
  
  <p>You could also use this to edit a message before resending it, but
  only the edited version will be shown on the public page if you do that.</p>

  <p><%= submit_tag 'Save' %></p>
<% end %>

<p>
<%= link_to 'Show', '../show/' + @outgoing_message.info_request.id.to_s %> |
<%= link_to 'List all', '../list' %>
</p>