diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-24 12:00:04 +0100 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-11-24 12:00:04 +0100 |
commit | d991ac6445249d0786711dca1210ae08b1ad7a82 (patch) | |
tree | d00ac776dc3409a5afd1968d450e28f7fc16f8ac /poll.rb | |
parent | e2ddb2910667029790843aabe64af515a7ce379c (diff) |
added invite participant tab template
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -60,7 +60,7 @@ class Poll end end - def to_html(edituser, showparticipation = true) + def to_html(edituser = "", showparticipation = true) ret = "<table border='1' summary='Main Poll table'>\n" ret += @head.to_html @@ -176,7 +176,7 @@ class Poll ret += "<input type='submit' value='Save Changes' />" ret += "<br /><input style='margin-top:1ex' type='submit' name='delete_participant' value='Delete User' />" else - ret += "<input type='submit' value='Add User' />" + ret += "<input type='submit' value='Save' />" end ret += "</td>\n" |