aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/file_request/index.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/file_request/index.rhtml')
-rw-r--r--app/views/file_request/index.rhtml11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/views/file_request/index.rhtml b/app/views/file_request/index.rhtml
index 935b4baeb..55a239e96 100644
--- a/app/views/file_request/index.rhtml
+++ b/app/views/file_request/index.rhtml
@@ -1,7 +1,7 @@
<h1>New request</h1>
-<% form_for(:foi_request, @foi_request, :url => { :action => :create }, :html => { :id => 'writeForm' } ) do |f| %>
- <%= error_messages_for :foi_request %>
+<% form_for(:info_request, @info_request, :url => { :action => :create }, :html => { :id => 'writeForm' } ) do |f| %>
+ <%= error_messages_for :info_request %>
<% fields_for :user do |u| %>
<p>
@@ -18,14 +18,19 @@
<% end %>
<p>
- <!-- <label for="foi_request_title">Title:</label> -->
+ <label for="info_request_title">Title:</label>
<%= f.text_field :title, "size" => 50 %>
<!-- (a one line summary of the information you are requesting, e.g. 'Crime statistics by ward level for Wales') -->
</p>
+<%
+=begin %>
<p>
<%= f.text_area :body %>
</p>
+<%
+=end
+%>
<p>
<%= submit_tag "Create" %>