dreamjob/app/View/Search/opening.ctp

48 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-04-15 22:17:19 +02:00
<?php
/*
*
*/
?>
<div class="box">
<?php
2014-04-16 18:24:34 +02:00
echo $this->element('search_navbar',array('SEARCH_opening'=>true));
2014-04-15 22:17:19 +02:00
$a = $default_Form;
2014-04-16 23:10:05 +02:00
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
2014-04-16 18:24:34 +02:00
$a['novalidate'] = true;
2014-04-15 22:17:19 +02:00
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.opening');?></h1>
<?php
$a = $default_hForm['inputDefaults'];
2014-04-16 23:10:05 +02:00
$a['between'] = false;
$a['after'] = false;
2014-04-28 12:53:13 +02:00
$a['placeholder'] = __('dreamjob.search.opening.placeholder');
2014-04-15 22:17:19 +02:00
echo $this->Form->input('DreamjobJobOpening.title',$a);
?>
<fieldset class="search">
2014-04-28 12:53:13 +02:00
<?=$this->Form->input('DreamjobJobOpening.branch_id',array('label'=>__('dreamjob.branch'),'empty'=>__('dreamjob.chooseOne'));?>
<?=$this->Form->input('DreamjobJobOpening.postcode',array('label'=>__('dreamjob.postcode'),'placeholder'=>__('dreamjob.postcode.placeholder'));?>
<?=$this->Form->input('DreamjobJobOpening.city',array('label'=>__('dreamjob.city'),'empty'=>__('dreamjob.chooseOne')));?>
<?=$this->Form->input('DreamjobJobOpening.graducation_id',array('label'=>__('dreamjob.graducation'),'empty'=>__('dreamjob.chooseOne')));?>
<?=$this->Form->input('DreamjobJobOpening.kindofjob_id',array('label'=>__('dreamjob.kindofjob'),'empty'=>__('dreamjob.chooseOne')));?>
2014-04-15 22:17:19 +02:00
<div class="form-group submit">
<div>
<?=$this->Form->submit(__('dreamjob.search'),array('class'=>'btn btn-primary'));?>
</div>
</div>
</fieldset>
<?php
echo $this->end();
?>
</div>
<div class="box">
<div class="openinggroup">
<?php
foreach($openings as $opening){
echo $this->element('job_opening_item',array('opening' => $opening));
}
?>
</div>
</div>