aboutsummaryrefslogtreecommitdiff
path: root/delete_poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-22 00:46:25 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-22 00:46:25 +0100
commitc339278dca54fa55767ad559c5656d41e56daf7e (patch)
tree993334b181d1bd128602245a630c27896798d707 /delete_poll.rb
parent07886c93027e26c98fe984a0cc7eff07ede3f8dd (diff)
validate
Diffstat (limited to 'delete_poll.rb')
-rwxr-xr-xdelete_poll.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/delete_poll.rb b/delete_poll.rb
index db04eb0..0e81b95 100755
--- a/delete_poll.rb
+++ b/delete_poll.rb
@@ -54,19 +54,15 @@ if $cgi.include?("confirmnumber")
If this was done by accident, please contact the administrator of the system.
The poll can be recovered for an indeterministic amount of time, maybe it is already to late. <br />
<a href='../'>home</a>
-</div>
SUCCESS
else
$html << <<CANCEL
You canceld the deletion!
-</div>
CANCEL
end
else
-
$html << <<TABLE
-<div>
<h1>#{POLL}</h1>
<h2>Delete this Poll</h2>
You want to delete the poll named <b>#{POLL}</b>.<br />
@@ -79,9 +75,9 @@ $html << <<TABLE
<input type='submit' value='delete' />
</div>
</form>
-</div>
TABLE
end
+$html << "</div>"
$html << "</body>"