diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-27 00:21:58 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2010-01-27 00:21:58 +0100 |
commit | 17e73f44ca8b7a48a1c863d451464ac0fb4265c2 (patch) | |
tree | e1e753096f321b3e5eb2e6c3d38781894aea2ce2 /dudle.rb | |
parent | 176cde084e173433713f8eb25c3ef806e0370012 (diff) |
give the elements more names
Diffstat (limited to 'dudle.rb')
-rw-r--r-- | dudle.rb | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |