<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'event-behavior-form',
	'enableAjaxValidation'=>false,
)); 
    /** @var TbActiveForm $form */
    /** @var EventBehavior $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',array('class'=>'span5','maxlength'=>20)); ?>

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

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

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

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

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