<?php
+
abstract class IPF_Admin_ModelInline{
var $model = null;
}
}
- /*
for($i=0; $i<$this->getAddNum(); $i++ ){
$form = IPF_Shortcuts::GetFormForModel($this->model->copy(), null, array('exclude'=>array($this->getFkName(),$this->getFkLocal())));
$form->fields = array_merge(array(new IPF_Form_Field_Boolean(array('label'=>'Del','name'=>'delete_', 'widget_attrs'=>array('disabled'=>'disabled')))),$form->fields);
$form->isFirst = false;
$this->formset[] = $form;
}
- */
}
function save(){