From cbff78daa8a642e1800916f92e43202857c3b677 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 24 Jan 2009 17:26:47 +0000 Subject: Supply a form id on all forms. This id can be used by modules other than the originating module to provide additional functionality to the form. --- modules/user/controllers/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/controllers') diff --git a/modules/user/controllers/login.php b/modules/user/controllers/login.php index c9a32546..a6dc5fad 100644 --- a/modules/user/controllers/login.php +++ b/modules/user/controllers/login.php @@ -53,7 +53,7 @@ class Login_Controller extends Controller { } private function _login_form() { - $form = new Forge(url::current(true), "", "post", array("id" => "gLoginForm")); + $form = new Forge(url::current(true), "", "post", array("id" => "gLogin_Form")); $group = $form->group("login")->label(t("Login")); $group->input("name")->label(t("Name"))->id("gName")->class(null); $group->password("password")->label(t("Password"))->id("gPassword")->class(null); -- cgit v1.2.3