diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-21 09:00:58 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-21 09:00:58 +0100 |
commit | 47eadddd01601b083c83b3520568255fdd6378a1 (patch) | |
tree | 4ab934c2401b8eafce5fb5841df2787e5fa8df7d /delete_poll.rb | |
parent | ccb649b03181010d19e673e1bf75bb62e6b54cc0 (diff) |
show table name as h1 in every page
Diffstat (limited to 'delete_poll.rb')
-rwxr-xr-x | delete_poll.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/delete_poll.rb b/delete_poll.rb index 8ae79b7..db04eb0 100755 --- a/delete_poll.rb +++ b/delete_poll.rb @@ -34,7 +34,7 @@ if __FILE__ == $0 POLL = File.basename(File.expand_path(".")) $cgi = CGI.new load "../html.rb" -$html = HTML.new("dudle - Delete - #{POLL}") +$html = HTML.new("dudle - #{POLL} - Delete") $html.header["Cache-Control"] = "no-cache" @@ -67,7 +67,8 @@ else $html << <<TABLE <div> - <h1>Delete this Poll</h1> + <h1>#{POLL}</h1> + <h2>Delete this Poll</h2> You want to delete the poll named <b>#{POLL}</b>.<br /> This is an irreversible action!<br /> If you are sure in what you are doing, please type into the form “#{QUESTIONS[CONFIRM]}” |