Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. <?php echo $this->Form->create('User', array('enctype'=>'multipart/form-data')); ?>
  2.  
  3.  
  4. <fieldset>
  5. <legend><?php echo __('Zmien avatar'); ?></legend>
  6. <?php
  7.  
  8. echo $this->Html->image('avatars/' . AuthComponent::user('avatar'));
  9. echo $this->Form->input('avatar', array('type'=>'file'));
  10.  
  11. ?>
  12. </fieldset>
  13. <?php echo $this->Form->end(__('Zapisz')); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement