aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-06-08 11:58:00 +0200
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-06-08 11:58:00 +0200
commit413a69a8cb7ab9f1b29dd2785aa8079602547e56 (patch)
tree37afc31d62f871a22d271febbbe11e7948699f93 /poll.rb
parent9c50e809a7df09bd1134b08f2f0935b6850c0f01 (diff)
move columndescription to <a> instead of <th>
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll.rb b/poll.rb
index e844917..bf90b58 100644
--- a/poll.rb
+++ b/poll.rb
@@ -35,7 +35,7 @@ class Poll
def head_to_html
ret = "<tr><th><a href='?sort=name'>Name</a></th>\n"
@head.sort.each{|columntitle,columndescription|
- ret += "<th title='#{columndescription}'><a href='?sort=#{columntitle}'>#{columntitle}</a></th>\n"
+ ret += "<th><a title='#{columndescription}' href='?sort=#{columntitle}'>#{columntitle}</a></th>\n"
}
ret += "<th><a href='.'>Last Edit</a></th>\n"
ret += "</tr>\n"