diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-24 19:24:33 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-10-24 19:24:33 +0200 |
commit | 255d5fe4b8064f128e3fed8b77e3b8831164d1d2 (patch) | |
tree | b15440c33da134f9dfee2d9dadacd888960770fe /poll.rb | |
parent | 072d4685a727e0c68a39a99b806b102e7a8eb04b (diff) |
guifix: remove double comment box
Diffstat (limited to 'poll.rb')
-rw-r--r-- | poll.rb | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -179,14 +179,14 @@ EDITDELETE end def comment_to_html ret = "<div id='comments'>" - ret += "<fieldset><legend>Comments</legend>" + ret += "<h2>Comments</h2>" unless @comment.empty? @comment.each_with_index{|c,i| time,name,comment = c ret += <<COMMENT <form method='post' action='.'> -<div> +<div class='comment'> <fieldset> <legend>#{name} said on #{time.strftime("%d.%m, %H:%M")} <input type='hidden' name='delete_comment' value='#{i}' /> @@ -204,7 +204,7 @@ COMMENT # ADD COMMENT ret += <<ADDCOMMENT <form method='post' action='.'> - <div> + <div class='comment'> <fieldset> <legend> <input value='anonymous' type='text' name='commentname' size='9' /> says @@ -215,7 +215,6 @@ COMMENT </div> </form> ADDCOMMENT - ret += "</fieldset>" ret += "</div>\n" ret |