aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-15 11:22:51 +0000
committerfrancis <francis>2008-02-15 11:22:51 +0000
commit3cd16cbee8c43b30b97813356cf600824c3cd38a (patch)
tree3f9f3a4c4641425cdd33b122ec55b3ff3cda84ad
parent463e0e0af9c2abde77a8c29637606cc0aafa93e7 (diff)
Forgot
-rw-r--r--app/views/admin_request/edit.rhtml25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml
new file mode 100644
index 000000000..48af4f1f3
--- /dev/null
+++ b/app/views/admin_request/edit.rhtml
@@ -0,0 +1,25 @@
+<h1>Edit basic details of request</h1>
+
+<%= error_messages_for 'info_request' %>
+
+<% form_tag '../update/' + @info_request.id.to_s do %>
+
+ <p><label for="info_request_title">Title</label><br/>
+ <%= text_field 'info_request', 'title', :size => 50 %></p>
+
+ <p><label for="info_request_prominence">Prominence</label><br/>
+ <%= select( 'info_request', "prominence", { "normal" => "normal", "backpage" => "backpage"}) %>
+
+ <%= submit_tag 'Save' %>
+
+ <p><strong>Note:</strong> To edit the actual request body text, click edit
+ next to the specific outgoing message.
+ </p>
+
+<% end %>
+
+<p>
+<%= link_to 'Show', '../show/' + @info_request.id.to_s %> |
+<%= link_to 'List all', '../list' %>
+</p>
+