Example #1
0
		<?php 
echo $form->labelEx($model, 'combine_household');
?>
		<?php 
echo $form->textField($model, 'combine_household', array('maxlength' => 22));
?>
		<?php 
echo $form->error($model, 'combine_household');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('beneficiaryAttributes'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'beneficiaryAttributes', GxHtml::encodeEx(GxHtml::listDataEx(BeneficiaryAttribute::model()->findAllAttributes(null, true)), false, true));
?>
		<label><?php 
echo GxHtml::encode($model->getRelationLabel('vouchers'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'vouchers', GxHtml::encodeEx(GxHtml::listDataEx(Voucher::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->