diff --git a/src/Cacic/CommonBundle/Form/Type/LogUserLogadoType.php b/src/Cacic/CommonBundle/Form/Type/LogUserLogadoType.php new file mode 100644 index 0000000..ccdfaa3 --- /dev/null +++ b/src/Cacic/CommonBundle/Form/Type/LogUserLogadoType.php @@ -0,0 +1,77 @@ +add( + 'selConsulta', + 'choice', + array( + 'empty_value' => 'Selecione', + 'required' => true, + 'choices' => array( + 'teIpComputador'=>'Endereço IP do Coputador', + 'nmComputador'=>'Nome do Computador', + 'usuario'=>'Nome do Usuário', + ) + ) + ); + $builder->add( + 'teIpComputador', + null, + array( 'label'=>'', + 'max_length'=>30, + 'required' => false + ) + ); + $builder->add( + 'nmComputador', + null, + array( 'label'=>'', 'max_length'=>30, 'required' => false) + ); + $builder->add( + 'usuario', + null, + array( 'label'=>'', 'max_length'=>30, 'required' => false) + ); + $builder->add( + 'dtHrInclusao', + 'text', + array( + 'label' => '', + 'required' => false + ) + ); + $builder->add( + 'dtHrInclusaoFim', + 'text', + array( + 'label' => '','required' => false + ) + ); + } + + /** + * (non-PHPdoc) + * @see Symfony\Component\Form.FormTypeInterface::getName() + */ + public function getName() + { + return 'LogUsuarioLogado'; + } + +} \ No newline at end of file -- libgit2 0.21.2