From 8e02294810ac27e9d7533a0d23609489ff8aa72b Mon Sep 17 00:00:00 2001 From: Geno Date: Mon, 15 Dec 2014 15:04:40 +0100 Subject: [PATCH] #102 design - datum opening --- app/View/Job/opening_edit.ctp | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) 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)); + ?> +
+
+