<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'plate-authorization-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,'Descrizione',array('class'=>'span5','maxlength'=>250)); ?>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	<?php echo $form->textFieldRow($model,'action',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(); ?>
