Form->create('DreamjobJobApplication',$default_Form); ?> Form->input('DreamjobUser.mail');?>





Form->text('AppUser.nickname', array('label'=>false,'class'=>'form-control','placeholder'=>__('dreamjob.company')));?>
Form->text('DreamjobUser.street', array('label'=>false,'class'=>'form-control','placeholder'=>__('dreamjob.street')));?>
Form->text('DreamjobUser.postcode', array('label'=>false,'class'=>'form-control','placeholder'=>__('dreamjob.postcode')));?>
Form->text('DreamjobListCity.name', array('label'=>false,'class'=>'form-control','placeholder'=>__('dreamjob.city')));?>





//echo $this->Form->hidden('DreamjobJobApplication.id'); echo $this->Form->hidden('DreamjobJobApplication.opening_id'); */ echo $this->Form->hidden('DreamjobJobApplication.worker_id'); echo $this->Form->text('DreamjobJobApplication.subject',array('label'=>false,'placeholder'=>__('dreamjob.opening.subject.placeholder'),'class'=>'form-control')).'
'; ?>
Form->textarea('DreamjobJobApplication.text',array("class"=>'form-control',"rows"=>10));?>
Form->select('DreamjobJobApplicationPage.page_id', $page_options, array( 'multiple' => 'checkbox')); ?>
Form->checkbox('agb');?> Html->link(__("dreamjob.agb.accept"),array('controller'=>'home','action'=>'agb'),array('data-target'=>'#popup','data-toggle'=>"modal",'title'=>__('dreamjob.agb'),"ref"=>"eventOff"));?>

Form->button(__('dreamjob.application.send'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
Form->end(); ?>