diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/file_request/index.rhtml | 33 | ||||
-rw-r--r-- | app/views/frontpage/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/layouts/default.rhtml | 2 |
3 files changed, 35 insertions, 2 deletions
diff --git a/app/views/file_request/index.rhtml b/app/views/file_request/index.rhtml new file mode 100644 index 000000000..3b03b987f --- /dev/null +++ b/app/views/file_request/index.rhtml @@ -0,0 +1,33 @@ +<h1>New request</h1> + +<% form_for(:foi_request, @foi_request, :url => { :action => :create }, :html => { :id => 'writeForm' } ) do |f| %> + <%= error_messages_for :foi_request %> + + <% fields_for :user do |u| %> + <p> + <b>Your name</b> (will be displayed on this site with your request and any response)<br /> + <%= u.text_field :name %> + </p> + + <p> + <b>Your email</b> (we'll only use it to keep you up to date about your request, and this site)<br /> + <%= u.text_field :email %> + </p> + <% end %> + + <p> + <b>Request title</b><br /> + <%= f.text_field :title, "size" => 30 %> + </p> + + <p> + <b>Letter</b><br /> + <%= f.text_area :body %> + </p> + + <p> + <%= submit_tag "Create" %> + </p> +<% end %> + + diff --git a/app/views/frontpage/index.rhtml b/app/views/frontpage/index.rhtml index f5cf1fcbb..8b5611d41 100644 --- a/app/views/frontpage/index.rhtml +++ b/app/views/frontpage/index.rhtml @@ -1,3 +1,3 @@ -<p>Make requests for information from the UK Government. +<p id="explanation">Make requests for information from the UK Government diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 662c9a5aa..7eb81f3ec 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -7,7 +7,7 @@ <!-- <link rel="alternate" type="application/rss+xml" title="" href=""> --> </head> <body> - <h1 id="header">Freedom <span id="my">of Information</span> Archive <span id="beta">Beta</span></h1> + <h1 id="header">Freedom of Information Filer and Archive <span id="beta">Beta</span></h1> <ul id="navigation"> <li>Home</li> </ul> |