<div class="form">

    <?php
    $form = $this->beginWidget('GxActiveForm', array(
        'id' => 'novidades-form',
        'enableAjaxValidation' => false,
        'focus' => array($model, 'NOV_DATA'),
    ));
    ?>

    <?php echo FaHtml::getFormInfo($form, $model); ?>

    <div class="row">
        <?php echo $form->labelEx($model, 'NOV_DATA'); ?>
        <?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'NOV_DATA')); ?>
        <?php echo $form->error($model, 'NOV_DATA'); ?>
    </div><!-- row -->
    <div class="row">
        <?php echo $form->labelEx($model, 'NOV_ASSUNTO'); ?>
        <?php echo $form->textField($model, 'NOV_ASSUNTO', array('maxlength' => 50)); ?>
        <?php echo $form->error($model, 'NOV_ASSUNTO'); ?>
    </div><!-- row -->
    <div class="row">
        <?php echo $form->labelEx($model, 'NOV_DESCRICAO'); ?>
        <?php echo $form->textArea($model, 'NOV_DESCRICAO', array('class' => 'ckeditor')); ?>
        <?php echo $form->error($model, 'NOV_DESCRICAO'); ?>
    </div><!-- row -->
    <div class="row">
        <?php echo $form->labelEx($model, 'NOV_IDPROJETO'); ?>
        <?php echo $form->dropDownList($model, 'NOV_IDPROJETO', GxHtml::listDataEx(Projetos::model()->findAll("PRO_STATUS = 1 order by PRO_PROJETO")), array('prompt' => 'Selecione')); ?>
        <?php echo $form->error($model, 'NOV_IDPROJETO'); ?>
    </div><!-- row -->
    <div class="row">
        <?php echo $form->labelEx($model, 'NOV_IDVERSAO'); ?>
        <?php echo $form->dropDownList($model, 'NOV_IDVERSAO', GxHtml::listDataEx(Versoes::model()->findAll(array('order' => 'VER_IDVERSAO DESC'))), array('prompt' => 'Selecione')); ?>
        <?php echo $form->error($model, 'NOV_IDVERSAO'); ?>
    </div><!-- row -->

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