aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 12:00:04 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 12:00:04 +0100
commitd991ac6445249d0786711dca1210ae08b1ad7a82 (patch)
treed00ac776dc3409a5afd1968d450e28f7fc16f8ac /poll.rb
parente2ddb2910667029790843aabe64af515a7ce379c (diff)
added invite participant tab template
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/poll.rb b/poll.rb
index b74bf08..dfb676f 100644
--- a/poll.rb
+++ b/poll.rb
@@ -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"