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

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

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

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

	<?php echo $form->textFieldRow($model,'TimeID',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'=>$model->isNewRecord ? 'Create' : 'Save',
		)); ?>
	</div>

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