public function actionView() { $this->render('view', array('model' => YumPayment::model()->findByPk($_GET['id']))); }
<div class="row"> <?php echo CHtml::activeRadioButtonList($model, 'membership_id', CHtml::listData(YumRole::model()->findAll('price != 0'), 'id', 'description'), array('template' => '<div style="float:left;margin-right:5px;">{input}</div>{label}')); ?> <div class="clear"></div> </div> <br /> <div class="row"> <?php echo $form->labelEx($model, 'payment_id'); ?> <br /> <?php echo CHtml::activeRadioButtonList($model, 'payment_id', CHtml::listData(YumPayment::model()->findAll(), 'id', 'title'), array('template' => '<div style="float:left;margin-right:5px;">{input}</div>{label}')); ?> <div class="clear"></div> </div> <?php echo $form->error($model, 'membership_id'); ?> <?php echo CHtml::submitButton(Yum::t('Order membership')); ?> </div> <!-- form --> <div style="padding:20px 60px 60px;"> <div class="more-info" id="more-information">mehr Informationen</div> <div id="detail-information" style="display:none;">