| 123456789 |
- <h1><?=$user->name; ?></h1>
- <?= $this->form->create($photo, array('type' => 'file')); ?>
- <?php if($photo->exists()): ?>
- <?= $this->form->label("This is you"); ?>
- <?php else: ?>
- <p>Upload a photo</p>
- <?= $this->form->field('file', array('type' => 'file')); ?>
- <?php endif; ?>
- <?= $this->form->end(); ?>
|