aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-08-23 17:47:29 +0000
committerfrancis <francis>2007-08-23 17:47:29 +0000
commit486b7e00672624e68fdb006d683f199752b7a6cb (patch)
tree9882f3b452c5342a598b3055bf1bc6ec82b69c3c
parent0e12859ba39820b7b5a755be998040d39cc70f6f (diff)
Minor formatting tweak, still rubbish.
-rw-r--r--app/views/file_request/index.rhtml8
-rw-r--r--public/stylesheets/main.css10
2 files changed, 18 insertions, 0 deletions
diff --git a/app/views/file_request/index.rhtml b/app/views/file_request/index.rhtml
index ecdcb054d..c1f686bd7 100644
--- a/app/views/file_request/index.rhtml
+++ b/app/views/file_request/index.rhtml
@@ -9,6 +9,8 @@
<p>All information that you enter, except for your email address, will be
displayed publically on this website.</p>
+ <div id="address_part">
+
<% fields_for :user do |u| %>
<p>
<label for="user_name">Your name:</label>
@@ -22,6 +24,10 @@ displayed publically on this website.</p>
<!-- (we'll only use it to keep you up to date about your request, and this site) -->
</p>
<% end %>
+
+ </div>
+
+ <div id="message_part">
<p>
<label for="info_request_title">Title:</label>
@@ -41,6 +47,8 @@ displayed publically on this website.</p>
<p>
<%= submit_tag "Create" %>
</p>
+
+ </div>
<% end %>
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css
index 4975fd75a..f7e80e708 100644
--- a/public/stylesheets/main.css
+++ b/public/stylesheets/main.css
@@ -158,6 +158,16 @@ label {
font-size: 83%;
}
+#writeForm #address_part {
+ float: right;
+ width: 50%;
+}
+
+#writeForm #message_part {
+ float: left;
+ clear: both;
+}
+
/* Forms */
.fieldWithErrors input, .fieldWithErrors input[type=text], .fieldWithErrors select, .fieldWithErrors input[type=radio]{