diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-07 09:20:47 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-07 09:20:47 +0200 |
commit | 16d58fddddfa7942d6355dd27fa87a77ff53f97c (patch) | |
tree | 371d976fa0cea05f254c5ade5bb0406cc2439d3f /poll.rb | |
parent | d67da9fd0f5fd21e0438d6676d7353342a517bea (diff) |
new feature: users can delete their row
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -136,8 +136,9 @@ class Poll type='text' name='add_participant' value=\"#{participant}\" - title='To change a line, add a new person with the same name!' /> - </td>\n" + title='To change a line, add a new person with the same name!' />" + ret += "<br /><input type='submit' name='delete_participant' value='delete user' />" if $edituser + ret += "</td>\n" @head.sort.each{|columntitle,columndescription| ret += "<td class='checkboxes'><table>" [[YES, YESVAL],[NO, NOVAL],[MAYBE, MAYBEVAL]].each{|valhuman, valbinary| |