When I create Payment I set amount and date, then I send values to Yearly and divide amount etc etc...
When I update Payment I want to get form from Yearly update. Now I have:
But I don't know how to get proper values in my form. Yearly update form should be:
I don't know how should I get values from right model etc ...
<?php echo $this->renderPartial('_form', array('model'=>$model)); echo $this->renderPartial('//yearly/_form4up',array('model'=>new Yearly)); ?>