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

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

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

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

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

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

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

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

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

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

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

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

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