diff --git a/app/View/Job/opening_edit.ctp b/app/View/Job/opening_edit.ctp index d65f0fc..99113ba 100644 --- a/app/View/Job/opening_edit.ctp +++ b/app/View/Job/opening_edit.ctp @@ -10,16 +10,7 @@ echo $this->Form->create('DreamjobJobOpening',$default_Form);
- - - - - - - - */ + echo $this->Form->hidden("DreamjobJobOpening.company_id"); if(!empty($this->request->data['DreamjobJobOpening']['title'])) echo $this->request->data['DreamjobJobOpening']['title']; @@ -30,9 +21,22 @@ echo $this->Form->create('DreamjobJobOpening',$default_Form); Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.opening.title.placeholder'),'label'=>array('text'=>__("dreamjob.title"),"class"=>$default_Form['inputDefaults']['label']['class']))); if(empty($enddate_no)){ echo $this->Form->input('DreamjobJobOpening.startdate',array('label'=>array('text'=>__("dreamjob.opening.startdate"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY','minYear' => date('Y') - 10, 'maxYear' => date('Y')+10)); - }else - echo $startdate; - echo (empty($enddate))?__('dreamjob.opening.enddatum_description'):__('dreamjob.opening.enddatum_description (%s)',$enddate); + }else{ + ?> +
+ +
Time->format('d.m.Y',$startdate);?>
+
+ +
+ +
+ Time->format('d.m.Y',$enddate)); + ?> +
+
+