<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'violation-document-form',
	'enableAjaxValidation'=>false,
)); 
    /** @var TbActiveForm $form */
    /** @var ViolationDocument $model */
    
    ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

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

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

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

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

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

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

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

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

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

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

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

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

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