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

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

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

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

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

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