diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-06-03 09:26:03 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-06-03 09:26:03 +0200 |
commit | 9787fd0ee2f885e78f079722ea8fc24ed645f179 (patch) | |
tree | 166b7c29c0096a05fb62190507408548948465bf | |
parent | b7e5654a565ee3d76f290cf14fbd4ac5632814d5 (diff) |
do not show edit button in config mode
-rw-r--r-- | poll.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ class Poll ret += "<tr>\n" ret += "<td class='name' #{$cgi["edit"] == participant ? "id='active'":""}>" ret += participant - ret += " <sup><a href='?edit=#{CGI.escape(participant)}'>edit</a></sup>" + ret += " <sup><a href='?edit=#{CGI.escape(participant)}'>edit</a></sup>" unless config ret += "</td>\n" @head.sort.each{|columntitle,columndescription| klasse = poll[columntitle] |