<div class="form">

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

    $this->widget('application.extensions.moneymask.MMask', array('element' => '#Servicos_SER_VALOR'));
    ?>

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

    <div class="row">
        <?php echo $form->labelEx($model, 'SER_DESCRICAO'); ?>
        <?php echo $form->textField($model, 'SER_DESCRICAO', array('maxlength' => 255)); ?>
        <?php echo $form->error($model, 'SER_DESCRICAO'); ?>
    </div><!-- row -->
    <div class="row">
        <?php echo $form->labelEx($model, 'SER_TEXTOPDF'); ?>
        <?php echo $form->textArea($model, 'SER_TEXTOPDF'); ?>
        <?php echo $form->error($model, 'SER_TEXTOPDF'); ?>
    </div><!-- row -->

    <div class="row">
        <?php echo $form->labelEx($model, 'SER_TIPODOCUMENTO'); ?>
        <?php echo $form->dropDownList($model, 'SER_TIPODOCUMENTO', Util::getTiposDocumentoList()); ?>
        <?php echo $form->error($model, 'SER_TIPODOCUMENTO'); ?>
    </div><!-- row -->

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