diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-25 06:28:04 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-25 06:28:04 +0000 |
commit | a8233ed9795e42bb013a4d860fa063d8710d71eb (patch) | |
tree | 8c3fe5f7b994cc2e6d50508fbe2d883018ad7388 /modules/comment/helpers | |
parent | b0ad4e0222f573825e26bcaf73e08b80a3bc1f47 (diff) |
Undo the adding underscores to the id on forge generated forms
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php index a3ad2a6a..ce9ddcbe 100644 --- a/modules/comment/helpers/comment.php +++ b/modules/comment/helpers/comment.php @@ -70,7 +70,7 @@ class comment_Core { } static function get_add_form($item) { - $form = new Forge("comments", "", "post", array("id" => "gAdd_Comment_Form")); + $form = new Forge("comments", "", "post", array("id" => "gAddCommentForm")); $group = $form->group("add_comment")->label(t("Add comment")); $group->input("name") ->label(t("Name")) ->id("gAuthor"); $group->input("email") ->label(t("Email (hidden)")) ->id("gEmail"); @@ -94,7 +94,7 @@ class comment_Core { static function get_edit_form($comment) { $form = new Forge("comments/{$comment->id}?_method=put", "", "post", - array("id" => "gEdit_Comment_Form")); + array("id" => "gEditCommentForm")); $group = $form->group("edit_comment")->label(t("Edit comment")); $group->input("name") ->label(t("Author")) ->id("gAuthor"); $group->input("email") ->label(t("Email (hidden)")) ->id("gEmail"); |