aboutsummaryrefslogtreecommitdiff
path: root/dudle.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-27 00:21:58 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-27 00:21:58 +0100
commit17e73f44ca8b7a48a1c863d451464ac0fb4265c2 (patch)
treee1e753096f321b3e5eb2e6c3d38781894aea2ce2 /dudle.rb
parent176cde084e173433713f8eb25c3ef806e0370012 (diff)
give the elements more names
Diffstat (limited to 'dudle.rb')
-rw-r--r--dudle.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/dudle.rb b/dudle.rb
index 12a163d..d20ea29 100644
--- a/dudle.rb
+++ b/dudle.rb
@@ -36,8 +36,11 @@ require "charset"
class Dudle
attr_reader :html, :table, :urlsuffix, :css, :title, :tab
+ def is_poll?
+ @is_poll
+ end
def tabs(active_tab)
- ret = "<div id='tabs'><ul>"
+ ret = "<div id='tabs'><ul id='tablist'>"
tabs = []
tabs << [_("Home"),@basedir]
if @is_poll
@@ -145,7 +148,7 @@ class Dudle
<div id='main'>
#{tabs(@tab)}
<div id='content'>
- <h1>#{@title}</h1>
+ <h1 id='polltitle'>#{@title}</h1>
HEAD