<div class="form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'termo-levantamento-dados-bancos-form',
	'enableAjaxValidation' => false,
    'focus'=>array($model,'xxx'),
));
?>

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

		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_IDTERMO'); ?>
		<?php echo $form->dropDownList($model, 'TLDB_IDTERMO', GxHtml::listDataEx(TermoLevantamentoDados::model()->findAllAttributes(null, true))); ?>
		<?php echo $form->error($model,'TLDB_IDTERMO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BANCO'); ?>
		<?php echo $form->textField($model, 'TLDB_BANCO', array('maxlength' => 100)); ?>
		<?php echo $form->error($model,'TLDB_BANCO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_AGENCIA'); ?>
		<?php echo $form->textField($model, 'TLDB_AGENCIA', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'TLDB_AGENCIA'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_AGENCIA_DIGITO'); ?>
		<?php echo $form->textField($model, 'TLDB_AGENCIA_DIGITO', array('maxlength' => 5)); ?>
		<?php echo $form->error($model,'TLDB_AGENCIA_DIGITO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_CONTA'); ?>
		<?php echo $form->textField($model, 'TLDB_CONTA', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'TLDB_CONTA'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_CONTA_DIGITO'); ?>
		<?php echo $form->textField($model, 'TLDB_CONTA_DIGITO', array('maxlength' => 5)); ?>
		<?php echo $form->error($model,'TLDB_CONTA_DIGITO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_NUM_CARTEIRA'); ?>
		<?php echo $form->textField($model, 'TLDB_NUM_CARTEIRA', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'TLDB_NUM_CARTEIRA'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_COD_CONVENIO'); ?>
		<?php echo $form->textField($model, 'TLDB_COD_CONVENIO', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'TLDB_COD_CONVENIO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_GERENTE'); ?>
		<?php echo $form->textField($model, 'TLDB_GERENTE', array('maxlength' => 100)); ?>
		<?php echo $form->error($model,'TLDB_GERENTE'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_TELEFONE'); ?>
		<?php echo $form->textField($model, 'TLDB_TELEFONE', array('maxlength' => 50, 'class' => 'mask_telefone')); ?>
		<?php echo $form->error($model,'TLDB_TELEFONE'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BOLETO_EMITIDO_POR'); ?>
		<?php echo $form->textField($model, 'TLDB_BOLETO_EMITIDO_POR', array('maxlength' => 20)); ?>
		<?php echo $form->error($model,'TLDB_BOLETO_EMITIDO_POR'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BOLETO_PROTESTO'); ?>
		<?php echo $form->checkBox($model, 'TLDB_BOLETO_PROTESTO'); ?>
		<?php echo $form->error($model,'TLDB_BOLETO_PROTESTO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BOLETO_PROTESTO_DIAS'); ?>
		<?php echo $form->textField($model, 'TLDB_BOLETO_PROTESTO_DIAS', array('maxlength' => 10)); ?>
		<?php echo $form->error($model,'TLDB_BOLETO_PROTESTO_DIAS'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BOLETO_PROTESTO_JUROS'); ?>
		<?php echo $form->textField($model, 'TLDB_BOLETO_PROTESTO_JUROS', array('maxlength' => 10)); ?>
		<?php echo $form->error($model,'TLDB_BOLETO_PROTESTO_JUROS'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'TLDB_BOLETO_PROTESTO_MULTA'); ?>
		<?php echo $form->textField($model, 'TLDB_BOLETO_PROTESTO_MULTA', array('maxlength' => 10)); ?>
		<?php echo $form->error($model,'TLDB_BOLETO_PROTESTO_MULTA'); ?>
		</div><!-- row -->

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