diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-24 17:26:47 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-24 17:26:47 +0000 |
| commit | cbff78daa8a642e1800916f92e43202857c3b677 (patch) | |
| tree | 1cb8302d4da07fbb384d44d94644088c718c6339 /modules/user/controllers | |
| parent | eed57674f99621e5354a13543067e9556eb9c6d0 (diff) | |
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.
Diffstat (limited to 'modules/user/controllers')
| -rw-r--r-- | modules/user/controllers/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
