add.html.php 213 B

12345
  1. <h1>Upload a photo</h1>
  2. <?= $this->form->create($photo, array('type' => 'file')); ?>
  3. <?= $this->form->field('file', array('type' => 'file')); ?>
  4. <?= $this->form->submit("Upload"); ?>
  5. <?= $this->form->end(); ?>