<div class="wide form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model, 'ATA_REL_CODIGO'); ?>
		<?php echo $form->textField($model, 'ATA_REL_CODIGO'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ATA_REL_IDATA'); ?>
		<?php echo $form->dropDownList($model, 'ATA_REL_IDATA', GxHtml::listDataEx(Atas::model()->findAllAttributes(null, true)), array('prompt' => 'Todas')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'ATA_REL_IDFUNCIONARIO'); ?>
		<?php echo $form->dropDownList($model, 'ATA_REL_IDFUNCIONARIO', GxHtml::listDataEx(Funcionarios::model()->findAllAttributes(null, true)), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row buttons">
		<?php echo FaHtml::searchButton(); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
