diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/file_request/index.rhtml | 12 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 8 |
2 files changed, 15 insertions, 5 deletions
diff --git a/app/views/file_request/index.rhtml b/app/views/file_request/index.rhtml index 55a239e96..299a9eac4 100644 --- a/app/views/file_request/index.rhtml +++ b/app/views/file_request/index.rhtml @@ -1,7 +1,13 @@ -<h1>New request</h1> +<% @title = "New FOI request" %> + +<%= error_messages_for :info_request %> <% form_for(:info_request, @info_request, :url => { :action => :create }, :html => { :id => 'writeForm' } ) do |f| %> - <%= error_messages_for :info_request %> + + <h1>New FOI request</h1> + + <p>All information that you enter, except for your email address, will be +displayed publically on this website.</p> <% fields_for :user do |u| %> <p> @@ -18,7 +24,7 @@ <% end %> <p> - <label for="info_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> diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 7eb81f3ec..137c4ac81 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -2,7 +2,7 @@ <html lang="en-gb"> <head> <!-- <script type="text/javascript" src="/js.js"></script> --> - <title>Freedom of Information Filer and Archive</title> + <title>Freedom of Information Filer and Archive <%= @title ? "-" : "" %> <%=@title%></title> <%= stylesheet_link_tag 'main' %> <!-- <link rel="alternate" type="application/rss+xml" title="" href=""> --> </head> @@ -19,7 +19,11 @@ <div id="error"><%= flash[:error] %></div> <% end %> + <div id="wrapper"> + <div id="content"> + <%= yield :layout %> + </div> + </div> - <%= yield :layout %> </body> </html> |