<div class="form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'formularios-projetos-form',
	'enableAjaxValidation' => false,
    'focus'=>array($model,'xxx'),
));
?>
	<?php echo FaHtml::getFormInfo($form, $model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'FRP_IDFORMULARIO'); ?>
		<?php echo $form->dropDownList($model, 'FRP_IDFORMULARIO', GxHtml::listDataEx(Formularios::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'FRP_IDFORMULARIO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'FRP_IDPROJETO'); ?>
		<?php echo $form->dropDownList($model, 'FRP_IDPROJETO', GxHtml::listDataEx(Projetos::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'FRP_IDPROJETO'); ?>
		</div><!-- row -->

<?php
echo FaHtml::saveButton();
$this->endWidget();
?>
</div><!-- form -->