<div class="form">
<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'funcionarios-revendas-form',
	'enableAjaxValidation' => false,
));
?>
	<?php echo FaHtml::getFormInfo($form, $model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'FRV_IDFUNCIONARIO'); ?>
		<?php echo $form->dropDownList($model, 'FRV_IDFUNCIONARIO', GxHtml::listDataEx(Funcionarios::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'FRV_IDFUNCIONARIO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'FRV_IDREVENDA'); ?>
		<?php echo $form->dropDownList($model, 'FRV_IDREVENDA', GxHtml::listDataEx(Revendas::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'FRV_IDREVENDA'); ?>
		</div><!-- row -->
<?php
echo FaHtml::saveButton();
$this->endWidget();
?>
</div><!-- form -->