summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-01-24 17:26:47 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-01-24 17:26:47 +0000
commitcbff78daa8a642e1800916f92e43202857c3b677 (patch)
tree1cb8302d4da07fbb384d44d94644088c718c6339 /modules/user/controllers
parenteed57674f99621e5354a13543067e9556eb9c6d0 (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.php2
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);