dreamjob/app/View/Search/academy.ctp

45 lines
1.2 KiB
PHP

<?php
/*
*
*/
?>
<div class="box">
<?php
echo $this->element('search_navbar',array('SEARCH_academy'=>true));
$a = $default_Form;
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.academy');?></h1>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['placeholder'] = __('dreamjob.search.opening.academy.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.city',array('label'=>__('dreamjob.city'),'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();
?>
</div>
<div class="box">
<div class="openinggroup">
<?php
foreach($openings as $opening){
echo $this->element('job_opening_item',array('opening' => $opening));
}
?>
</div>
</div>