From a8233ed9795e42bb013a4d860fa063d8710d71eb Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 25 Jan 2009 06:28:04 +0000 Subject: Undo the adding underscores to the id on forge generated forms --- core/helpers/album.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers/album.php') diff --git a/core/helpers/album.php b/core/helpers/album.php index 5fd64442..223a057d 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -64,7 +64,7 @@ class album_Core { } static function get_add_form($parent) { - $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAdd_Album_Form")); + $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm")); $group = $form->group("add_album")->label(t("Add Album to %album_title", array("album_title" => $parent->title))); $group->input("name")->label(t("Name")); $group->input("title")->label(t("Title")); @@ -76,7 +76,7 @@ class album_Core { } static function get_edit_form($parent) { - $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gEdit_Album_Form")); + $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gEditAlbumForm")); $form->hidden("_method")->value("put"); $group = $form->group("edit_album")->label(t("Edit Album")); if ($parent->id != 1) { -- cgit v1.2.3