Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo $this->Form->create('User', array('enctype'=>'multipart/form-data')); ?>
- <fieldset>
- <legend><?php echo __('Zmien avatar'); ?></legend>
- <?php
- echo $this->Html->image('avatars/' . AuthComponent::user('avatar'));
- echo $this->Form->input('avatar', array('type'=>'file'));
- ?>
- </fieldset>
- <?php echo $this->Form->end(__('Zapisz')); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement