Yii Framework Forum: Problem With View And Models - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Problem With View And Models

#1 User is offline   Louen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 14-September 13

Posted 14 September 2013 - 04:11 PM

Hello!

In protected/modules/announcements/views/announcementsEntry/update.php.


This is my view, inside I have:

                               <div class="control-group">
                                    <?php echo $form->labelEx($phmodel, 'email', array('class' => 'control-label')); ?>
                                    <div class="controls">
                                        <?php echo $form->textField($model, 'email', array('class' => '')); ?>
                                        <span class="help-inline"> <?php echo $form->error($model, 'email'); ?>          </span>


How can I add as value user's email that I know id?
Thank you.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users