aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/file_request/index.rhtml16
-rw-r--r--public/stylesheets/main.css9
2 files changed, 14 insertions, 11 deletions
diff --git a/app/views/file_request/index.rhtml b/app/views/file_request/index.rhtml
index 3b03b987f..935b4baeb 100644
--- a/app/views/file_request/index.rhtml
+++ b/app/views/file_request/index.rhtml
@@ -5,23 +5,25 @@
<% 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 %>
+ <label for="user_name">Your name:</label>
+ <%= u.text_field :name, "size" => 20 %>
+ <!-- (will be displayed on this site with your request and any response)<br /> -->
</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 %>
+ <label for="user_email">Email:</label>
+ <%= u.text_field :email, "size" => 20 %>
+ <!-- (we'll only use it to keep you up to date about your request, and this site) -->
</p>
<% end %>
<p>
- <b>Request title</b><br />
- <%= f.text_field :title, "size" => 30 %>
+ <!-- <label for="foi_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>
<p>
- <b>Letter</b><br />
<%= f.text_area :body %>
</p>
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css
index 994bf1284..2ae80158a 100644
--- a/public/stylesheets/main.css
+++ b/public/stylesheets/main.css
@@ -167,11 +167,10 @@ dt {
}
#writeForm {
- display: table;
- _width: 31em;
+ float: right;
text-align: center;
- font-size: 150%;
margin: 1em auto;
+ margin-right: 2em;
padding: 1em;
background-color: #97E300;
-moz-border-radius: 1em;
@@ -179,8 +178,10 @@ dt {
}
#writeForm label {
- float: none;
+ float: left;
+ text-align: right;
padding-right: 0;
+ display: block;
}
#writeForm #submit {