<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, 'VEI_IDREVENDA'); ?>
		<?php echo $form->dropDownList($model, 'VEI_IDREVENDA', GxHtml::listDataEx(Revendas::model()->findAll('REV_SITUACAO="A" order by REV_NOME')), array('prompt' => 'Todas')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'VEI_DESCRICAO'); ?>
		<?php echo $form->textField($model, 'VEI_DESCRICAO', array('maxlength' => 50)); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model, 'VEI_MODELO'); ?>
		<?php echo $form->textField($model, 'VEI_MODELO', array('maxlength' => 20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'VEI_PLACA'); ?>
		<?php echo $form->textField($model, 'VEI_PLACA', array('maxlength' => 10)); ?>
	</div>
	
	<div class="row">
		<?php echo $form->label($model, 'VEI_SITUACAO'); ?>
		<?php echo $form->dropDownList($model, 'VEI_SITUACAO', array('A' => 'Ativo','I' => 'Inativo'), array('prompt' => 'Todas')); ?>
	</div>

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

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

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