Yii Booster Tbactiveform Issue

I’m new in Yii, I’m trying to load a partial view with the model param but when I load the form like this:




<?php /** @var BootActiveForm $form */

	$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(

		'id'=>'horizontalForm',

		'type'=>'horizontal',

            'htmlOptions'=>array('class'=>'well'),

	)); ?>

 

    <fieldset>

 

        <legend>Seleccione los estados de las Salidas Digitales</legend>

        <?php echo $form->toggleButtonRow($model, 'di2'); ?>

    </fieldset>

 

    <div class="form-actions">

        <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary', 'label'=>'Submit')); ?>

        <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'Reset')); ?>

    </div>

 

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



appears the next error:




include(di2.php): failed to open stream: No such file or directory



“di2” is an attribute of the model $model->di1 and $model->di2, when I tried a simple input field tag not the one from Yii Booster, it loads ok <_< , I don’t know whats going on, please help, thanks in advance… :D

Make sure that when you renderPartial you also do process output otherwise scripts wont be registered

Thanks for the help, but I didn’t find the solution so I had to create a new project and everything is fine now…

Anyway, I was testing the framework for learning purposes, I guess something was messed up… sorry :P