<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'vehicle-trace-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="help-block"><?php echo(t('Fields with <span class="required">*</span> are required.')); ?></p>

	<?php echo $form->errorSummary($model); ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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