From 83fb7e34d99c0006c1c43d58c81ba4e4445f5688 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 8 Mar 2011 14:03:43 +0100 Subject: clients editierbar --- application/forms/Client.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 application/forms/Client.php (limited to 'application/forms/Client.php') diff --git a/application/forms/Client.php b/application/forms/Client.php new file mode 100644 index 0000000..1378349 --- /dev/null +++ b/application/forms/Client.php @@ -0,0 +1,37 @@ +setName("pool"); + $this->setMethod('post'); + + $this->addElement('text', 'macadress', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 50)), + ), + 'required' => true, + 'label' => 'MacAdress:', + )); + $this->addElement('text', 'hardwarehash', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 50)), + ), + 'required' => true, + 'label' => 'Hardwarehash:', + )); + + $this->addElement('submit', 'add', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Save', + )); + } + + +} + -- cgit v1.2.3-55-g7522