<?php
 namespace Modules\Admin\Users\BlockUser; class View_Utils_FormAdmin extends \App\Mvc\View_Utils_FormAbstract { public function getForm() { $form = \Engine\Form\General::create(); $fieldset = new \Engine\Form\Container\Fieldset(); $form->addContainer($fieldset); $blockedLoginUntil = new \Engine\Form\Input\Datetime( $this->lang['index']['formFields']['cantLoginUntil'], 'cantLoginUntil', $this->values['cantLoginUntil']); $blockedLoginUntil->setTooltip($this->lang['index']['formFields']['cantLoginUntilTooltip']); $fieldset->addElement($blockedLoginUntil); $form->addElement(new \Engine\Form\Input\Hidden('', $this->submitButtonName, 1)); return $form; } } 