|
Form->create('Company',array('url'=>'/users/company','onsubmit'=>'return submitCompany()','enctype'=>'multipart/form-data')); ?>
|
|
Name:
|
Form->text('name',array('value'=>$getCompany['Company']['name'],'size'=>'45','class'=>'text_field','style'=>'-moz-border-radius:3px 3px 3px 3px','id'=>'name','maxlength'=>'100')); ?>
|
Secure Site:
|
|
Website:
|
Form->text('website',array('value'=>$getCompany['Company']['website'],'size'=>'45','class'=>'text_field','style'=>'-moz-border-radius:3px 3px 3px 3px','id'=>'website')); ?>
|
Contact Phone:
|
Form->text('contact_phone',array('value'=>$getCompany['Company']['contact_phone'],'size'=>'45','class'=>'text_field','style'=>'-moz-border-radius:3px 3px 3px 3px','id'=>'phone','maxlength'=>'20')); ?>
|
Format->imageExists(DIR_FILES.'company/',$getCompany['Company']['logo']))
/* if($this->Format->pub_file_exists(DIR_USER_COMPANY_S3_FOLDER,$getCompany['Company']['logo']))
{
?>
|
Format->generateTemporaryURL(DIR_USER_COMPANY_S3.$getCompany['Company']['logo']); ?>
Form->hidden('photo_name',array('value'=>$getCompany['Company']['logo'],'class'=>'text_field','id'=>'photo')); ?>
|
Logo:
|
Form->file('photo',array('value'=>$getCompany['Company']['logo'],'onchange'=>'return checkImage(\'photo\')','class'=>'text_field','style'=>'-moz-border-radius:3px 3px 3px 3px','id'=>'photo')); ?>
|
|
or
Cancel
Updating...
|
Form->end(); ?>
|
|