?> </div> </div> </div> <div class="row"> <div class="form-group"> <div class="span2"> <?php echo $form->labelEx($model, 'document_id'); ?> </div> <div class="col-sm-8 clearLeftPadding"> <?php //echo $form->textField($model,'document_id'); echo $form->dropDownList($model, 'document_id', CHtml::listData(documents::model()->findAll(array('select' => 'id, document_name', 'order' => 'document_name')), 'id', 'document_name'), array('empty' => '- Select -')); ?> <?php echo $form->error($model, 'document_id'); ?> </div> </div> </div> <div class="row"> <div class="form-group"> <div class="span2"> <?php echo $form->labelEx($model, 'custody_account'); ?> </div>
function __construct() { self::$PATH = PATH_EXTENSIONS . "documents/"; parent::__construct(PATH_EXTENSIONS . "documents.xml"); }