2014-03-08 17:08:46 +01:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Formular zum Bewerbungen verschicken
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div class="box">
|
|
|
|
<?=$this->element('job_opening_head');?>
|
|
|
|
<?=$this->element('job_opening_head_extra');?>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
|
|
<?php echo $this->Form->create('DreamjobJobApplication',$default_Form); ?>
|
|
|
|
<fieldset>
|
|
|
|
<legend><?=__("dreamjob.application.form");?></legend>
|
2014-05-01 11:34:11 +02:00
|
|
|
<?=$WORKER['AppUser']['first_name'].' '.$WORKER['AppUser']['last_name'];?><br/>
|
|
|
|
<?=$WORKER['DreamjobUser']['street'];?><br/>
|
|
|
|
<?=$WORKER['DreamjobUser']['postcode'].' '.$WORKER['DreamjobListCity']['name'];?><br/>
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<?=$opening['DreamjobCompany']['owner'];?><br/>
|
|
|
|
<?=$opening['AppUser']['nickname'];?><br/>
|
|
|
|
<?=$opening['DreamjobUser']['street'];?><br/>
|
|
|
|
<?=$opening['DreamjobUser']['postcode'].' '.$opening['DreamjobListCity']['name'];?><br/>
|
|
|
|
<br/>
|
2014-03-08 17:08:46 +01:00
|
|
|
<?php
|
2014-03-10 23:53:06 +01:00
|
|
|
//echo $this->Form->hidden('DreamjobJobApplication.id');
|
|
|
|
echo $this->Form->hidden('DreamjobJobApplication.opening_id');
|
|
|
|
echo $this->Form->hidden('DreamjobJobApplication.worker_id');
|
2014-05-01 11:34:11 +02:00
|
|
|
echo $this->Form->text('DreamjobJobApplication.subject',array('label'=>false,'placeholder'=>__('dreamjob.opening.subject.placeholder'),'class'=>'form-control')).'<br/>';
|
2014-03-08 17:08:46 +01:00
|
|
|
echo $this->Form->textarea('DreamjobJobApplication.text',array("class"=>'form-control',"rows"=>10));
|
|
|
|
?>
|
|
|
|
|
|
|
|
<legend><?=__("dreamjob.application.addPages");?></legend>
|
|
|
|
<?php
|
|
|
|
$page_options = array();
|
|
|
|
foreach($pages as $page){
|
|
|
|
$page_options[$page['id']]= $page['title'];
|
|
|
|
}
|
|
|
|
echo $this->Form->select('DreamjobJobApplicationPage.page_id', $page_options, array(
|
|
|
|
'multiple' => 'checkbox'));
|
|
|
|
?>
|
|
|
|
<div class="buttonrow">
|
|
|
|
<div class="checkbox" style="width:20%;display:inline-block;">
|
2014-03-30 10:33:22 +02:00
|
|
|
<?=$this->Form->checkbox('agb');?>
|
2014-04-08 19:28:07 +02:00
|
|
|
<?=$this->Html->link(__("dreamjob.agb.accept"),array('controller'=>'home','action'=>'agb'),array('data-target'=>'#popup','data-toggle'=>"modal",'title'=>__('dreamjob.agb'),"ref"=>"eventOff"));?>
|
2014-03-08 17:08:46 +01:00
|
|
|
</div>
|
|
|
|
<br/>
|
2014-03-26 09:15:43 +01:00
|
|
|
<?=$this->Form->button(__('dreamjob.application.send'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
|
2014-03-08 17:08:46 +01:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<?php echo $this->Form->end(); ?>
|
|
|
|
</div>
|