dreamjob/app/View/User/settings_imageUpload.ctp

22 lines
733 B
Plaintext
Raw Permalink Normal View History

2015-03-31 14:49:03 +02:00
<?php
/*
*
*/
?>
<div class="box 2modal">
<h1 class="modal-title"><?=__('dreamjob.image.edit');?></h1>
<?php
$default_Form['type']='file';
$default_Form['class']= (isset( $default_Form['class']))?$default_Form['class']:''.' modal-body';
echo $this->Form->create('AppUser',$default_Form);
echo $this->Form->input('AppUser.avatar',array('type'=>'file','label'=>array('text'=>__("dreamjob.avatar"),"class"=>$default_Form['inputDefaults']['label']['class'])));
?>
<div class="modal-footer">
<?=$this->Form->button('<span class="glyphicon glyphicon-floppy-disk"></span> '.__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
<?php
echo $this->Form->end();
?>
</div>