<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'name',array('class'=>'span5','maxlength'=>45)); ?>

	<?php echo $form->textFieldRow($model,'description',array('class'=>'span5','maxlength'=>255)); ?>

	<?php echo $form->textFieldRow($model,'id_gate_start',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'id_gate_end',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'road_length',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'enabled',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'road_speed_limit',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'road_speed_limit_unit',array('class'=>'span5','maxlength'=>30)); ?>

	<?php echo $form->textFieldRow($model,'road_speed_threshold',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'filter_gate_start',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'filter_gate_end',array('class'=>'span5','maxlength'=>10)); ?>

	<?php echo $form->textFieldRow($model,'discard_delta',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'final_discard_delta',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'last_event_time',array('class'=>'span5')); ?>

	<?php echo $form->textFieldRow($model,'last_event_id',array('class'=>'span5','maxlength'=>20)); ?>

	<?php echo $form->textFieldRow($model,'epoch',array('class'=>'span5')); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

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