<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, 'CTI_ID'); ?>
		<?php echo $form->textField($model, 'CTI_ID'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'CTI_IDCONTRATO'); ?>
		<?php echo $form->dropDownList($model, 'CTI_IDCONTRATO', GxHtml::listDataEx(Contatos::model()->findAllAttributes(null, true)), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'CTI_IDPRODUTO'); ?>
		<?php echo $form->dropDownList($model, 'CTI_IDPRODUTO', GxHtml::listDataEx(Modulos::model()->findAllAttributes(null, true)), array('prompt' => 'Todos')); ?>
	</div>

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

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

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

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

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

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

	<div class="row">
		<?php echo $form->label($model, 'CTI_DESCRICAO'); ?>
		<?php echo $form->textArea($model, 'CTI_DESCRICAO'); ?>
	</div>

	<div class="row buttons">
		<?php echo FaHtml::searchButton(); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
