diff options
author | raylu <raylu@mixpanel.com> | 2011-07-02 16:51:32 -0700 |
---|---|---|
committer | raylu <raylu@mixpanel.com> | 2011-07-02 16:51:32 -0700 |
commit | 83483a1826d1d05e2f9733746f35fef1939b8c0a (patch) | |
tree | a2c382bfc4e3f5b8554604f0595e51119547fa43 /views/users/profile.html.php | |
parent | 495e795089e2839474a653733dd0adf2c6c43105 (diff) | |
download | otakuhub-83483a1826d1d05e2f9733746f35fef1939b8c0a.tar.xz |
lowercase
Diffstat (limited to 'views/users/profile.html.php')
-rw-r--r-- | views/users/profile.html.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/users/profile.html.php b/views/users/profile.html.php new file mode 100644 index 0000000..a29304d --- /dev/null +++ b/views/users/profile.html.php @@ -0,0 +1,9 @@ +<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(); ?>
\ No newline at end of file |