<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, 'CDF_CODIGO'); ?>
		<?php echo $form->textField($model, 'CDF_CODIGO'); ?>
	</div>

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

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

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

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

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