aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/new/index.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/new/index.rhtml')
-rw-r--r--app/views/new/index.rhtml55
1 files changed, 30 insertions, 25 deletions
diff --git a/app/views/new/index.rhtml b/app/views/new/index.rhtml
index 84d0198bc..b513c9a4c 100644
--- a/app/views/new/index.rhtml
+++ b/app/views/new/index.rhtml
@@ -4,37 +4,42 @@
<% form_for(:info_request, @info_request, :url => { :action => :create }, :html => { :id => 'writeForm' } ) do |f| %>
- <h1>New FOI request</h1>
+ <label for="heading">&nbsp;</label>
+ <h1>New Freedom of Information request</h1>
- <p><strong>Privacy warning:</strong> All information that you enter, except
- for your email address, will be displayed publically on this website.</p>
-
- <p>
+ <p>
<label for="public_body_id">Public body:</label>
- <%=
+ <%=
@public_bodies = PublicBody.find(:all, :order => "name")
f.collection_select(:public_body_id, @public_bodies, :id, :name)
- %>
- </p>
-
-
- <p>
- <label for="info_request_title">Summary:</label>
- <%= f.text_field :title, :size => 50 %>
- <br>(a one line summary of the information you are requesting, e.g. 'Crime statistics by ward level for Wales')
- </p>
-
- <% fields_for :outgoing_message do |o| %>
- <p>
- <label for="outgoing_message_body">Your letter:</label>
+ %>
+ </p>
+
+
+ <p>
+ <label for="info_request_title">Summary:</label>
+ <%= f.text_field :title, :size => 50 %>
+ </p>
+ <div class="form_note">
+ (a one line summary of the information you are requesting,
+ <br>e.g. 'Crime statistics by ward level for Wales')
+ </div>
+
+ <% fields_for :outgoing_message do |o| %>
+ <p>
+ <label for="outgoing_message_body">Your letter:</label>
<%= o.text_area :body, :rows => 20, :cols => 60 %>
- </p>
- <% end %>
+ </p>
+ <% end %>
+
+ <p class="form_note">
+ <strong>Privacy warning:</strong> All information that you enter, except
+ for your email address, will be displayed publically on this website.
+ </p>
- <p>
- <label for="commit">&nbsp;</label>
- <%= submit_tag "Create request >>" %>
- </p>
+ <div class="form_button">
+ <%= submit_tag "Create public request >>" %>
+ </div>
</div>
<% end %>