From 5359f6e8de1c409f4cb717c700de63409dfb3a49 Mon Sep 17 00:00:00 2001 From: sebastian wagner Date: Mon, 4 Jul 2011 17:37:02 +0200 Subject: login formular --- application/forms/RecoverPassword.php | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 application/forms/RecoverPassword.php (limited to 'application/forms/RecoverPassword.php') diff --git a/application/forms/RecoverPassword.php b/application/forms/RecoverPassword.php new file mode 100644 index 0000000..273b426 --- /dev/null +++ b/application/forms/RecoverPassword.php @@ -0,0 +1,38 @@ +setName("RecoverPassword"); + $this->setMethod('post'); + + $this->addElement('text', 'email', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 30)), + ), + 'required' => true, + 'label' => 'Email:', + )); + $this->addElement('submit', 'recoverPassword', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Recover', + )); + } + + +} + -- cgit v1.2.3-55-g7522