dreamjob/app/View/Search/opening.ctp

49 lines
1.8 KiB
Plaintext
Raw Normal View History

2015-03-31 14:49:03 +02:00
<?php
/*
*
*/
?>
<div class="box">
<?php
echo $this->element('search_navbar',array('SEARCH_opening'=>true));
$a = $default_Form;
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h3><?=__('dreamjob.search.opening');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = false;
$a['after'] = false;
$a['placeholder'] = __('dreamjob.search.opening.placeholder');
echo $this->Form->input('DreamjobJobOpening.title',$a);
?>
<fieldset class="search">
<?=$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')));?>
<div class="form-group submit">
<div>
<?=$this->Form->submit(__('dreamjob.search'),array('class'=>'btn btn-primary'));?>
</div>
</div>
</fieldset>
<?php
echo $this->end();
?>
<?=(isset($WORKER))?$this->Html->link(__("dreamjob.settings.isearch.info"),array('controller'=>'user','action'=>'settings_isearch')):'';?>
</div>
<div class="box">
<div class="openinggroup">
<?php
foreach($openings as $opening){
echo $this->element('job_opening_item',array('opening' => $opening));
}
?>
</div>
</div>