aboutsummaryrefslogtreecommitdiffstats
path: root/web/contact.cgi
diff options
context:
space:
mode:
authormatthew <matthew>2006-09-25 18:39:54 +0000
committermatthew <matthew>2006-09-25 18:39:54 +0000
commit4ac4fe8bdcdf6dedbae80d11b664a7d27025095b (patch)
treee99801bfdb63c174718af563d1e4d622f19aeaf9 /web/contact.cgi
parentb36133202bb92f7cdaa2f92f94a5242159ac3167 (diff)
Turns out everything needs relativediv now, so stick it in the header
and call it content.
Diffstat (limited to 'web/contact.cgi')
-rwxr-xr-xweb/contact.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/contact.cgi b/web/contact.cgi
index 00fa9ba83..a77fa1c6a 100755
--- a/web/contact.cgi
+++ b/web/contact.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: contact.cgi,v 1.1 2006-09-25 18:12:56 matthew Exp $
+# $Id: contact.cgi,v 1.2 2006-09-25 18:39:54 matthew Exp $
use strict;
require 5.8.0;
@@ -41,7 +41,7 @@ sub contact_submit {
push(@errors, 'Please give your name') unless $input{email};
push(@errors, 'Please write a message') unless $input{message};
return contact_page($q, @errors) if @errors;
-
+ print '<p>Submit form!</p>';
}
sub contact_page {
@@ -50,7 +50,7 @@ sub contact_page {
my %input = map { $_ => $q->param($_) } @vars;
my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars;
- my $out = '<div id="relativediv"> <h1>Contact</h1>';
+ my $out = '<h1>Contact</h1>';
if (@errors) {
$out .= '<ul id="error"><li>' . join('</li><li>', @errors) . '</li></ul>';
}