2014-04-02 20:38:01 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div class="box">
|
|
|
|
<h1><?=__('dreamjob.registration.worker');?></h1>
|
|
|
|
<?php
|
2014-04-13 21:51:07 +02:00
|
|
|
if(!$result){
|
2014-04-02 20:38:01 +02:00
|
|
|
echo $this->Form->create(false,$default_Form);
|
|
|
|
?>
|
|
|
|
<fieldset>
|
|
|
|
<legend><?=__("dreamjob.account");?></legend>
|
|
|
|
<?php
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail.placeholder'),'label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-02 20:38:01 +02:00
|
|
|
echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
|
|
|
echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
|
|
|
?>
|
|
|
|
<legend><?=__("dreamjob.worker");?></legend>
|
|
|
|
<?php
|
|
|
|
echo $this->Form->input('AppUser.mannerofaddress_id',array('label'=>array('text'=>__("dreamjob.mannerofaddress"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('AppUser.first_name',array('placeholder'=>__('dreamjob.first_name.placeholder'),'label'=>array('text'=>__("dreamjob.first_name"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
|
|
|
echo $this->Form->input('AppUser.last_name',array('placeholder'=>__('dreamjob.last_name.placeholder'),'label'=>array('text'=>__("dreamjob.last_name"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-23 22:27:03 +02:00
|
|
|
echo $this->Form->input('AppUser.bday',array('label'=>array('text'=>__("dreamjob.bday"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY',
|
|
|
|
'minYear' => date('Y') - 100,
|
|
|
|
'maxYear' => date('Y') - 14));
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('DreamjobWorker.iam',array('placeholder'=>__('dreamjob.iam.placeholder'),'label'=>array('text'=>__("dreamjob.iam"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-02 20:38:01 +02:00
|
|
|
echo $this->Form->input('DreamjobWorker.graducation_id',array('label'=>array('text'=>__("dreamjob.graducation"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('DreamjobWorker.workexperience',array('placeholder'=>__('dreamjob.workexperience.placeholder'),'label'=>array('text'=>__("dreamjob.workexperience"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-02 20:38:01 +02:00
|
|
|
?>
|
|
|
|
<legend><?=__("dreamjob.addresse");?></legend>
|
|
|
|
<?php
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('DreamjobUser.street',array('placeholder'=>__('dreamjob.street.placeholder'),'label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-22 16:01:00 +02:00
|
|
|
echo $this->Form->input('DreamjobUser.city_id',array('label'=>array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-28 12:53:13 +02:00
|
|
|
echo $this->Form->input('DreamjobUser.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
|
|
|
echo $this->Form->input('DreamjobWorker.country',array('placeholder'=>__('dreamjob.country.placeholder'),'label'=>array('text'=>__("dreamjob.country"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
2014-04-02 20:38:01 +02:00
|
|
|
?>
|
|
|
|
<div class="buttonrow">
|
|
|
|
<div class="checkbox" style="width:20%;display:inline-block;">
|
|
|
|
<?=$this->Form->checkbox('DreamjobWorker.agb');?>
|
|
|
|
<?=$this->Html->link(__("dreamjob.agb.accept"),array('controller'=>'home','action'=>'agb'),array('data-target'=>'#popup','data-toggle'=>"modal",'title'=>__('dreamjob.agb'),"ref"=>"eventOff"));?>
|
|
|
|
</div>
|
|
|
|
<br/>
|
2014-06-10 18:37:45 +02:00
|
|
|
<?=$this->Form->button(__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
|
2014-04-02 20:38:01 +02:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<?php
|
|
|
|
echo $this->Form->end();
|
2014-04-13 21:31:11 +02:00
|
|
|
}else{
|
|
|
|
echo __("dreamjob.registration.done.text");
|
|
|
|
}
|
2014-04-02 20:38:01 +02:00
|
|
|
?>
|
|
|
|
</div>
|