<?php
 namespace Modules\Partners\Corporates; class View_Utils_FormLock extends \App\Mvc\View_Utils_FormAbstract { public function getForm() { $form = \Engine\Form\General::create(); $form->addContainer(\Engine\Form\Container\Fieldset::create($this->lang['formFieldCat']['locked'])); $form->setStyle('width', 300)->setStyle('labelWidth', 25); $fld_lockComments = new \Engine\Form\Input\Textarea($this->lang['formFields']['lockedComments'], 'lockedComments', $this->values['lockedComments']); $fld_lockComments->setMandatory(); $form->addElement($fld_lockComments); $form->addElement(new \Engine\Form\Input\Hidden('', 'id', $this->values['id'])); $form->addElement(new \Engine\Form\Input\Hidden('', $this->submitButtonName, 1)); return $form; } } 