<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, 'FRM_CODFORM', array('class' => 'line_small')); ?>
        <?php echo $form->textField($model, 'FRM_CODFORM', array('maxlength' => 10)); ?>
    </div>

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

    <div class="row">
        <?php echo $form->label($model, 'FRM_IDPROJETO'); ?>
        <?php echo $form->dropDownList($model, 'FRM_IDPROJETO', GxHtml::listDataEx(Projetos::model()->findAll(array('order' => 'PRO_PROJETO'))), array('prompt' => 'Todos')); ?>
    </div>

    <div>
        <?php echo $form->label($model, 'FRM_SITUACAO'); ?>
        <?php echo $form->dropDownList($model, 'FRM_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 -->
