dreamjob/app/View/Search/searchopenings.ctp

49 lines
1.5 KiB
PHP

<?php
/*
*
*/
?>
<div class="box">
<div class="tabs-below">
<ul class="nav nav-tabs">
<li class="active"><?=$this->Html->link(__("dreamjob.search.opening"),array('controller'=>'search','action'=>'openings'));?></li>
<li><a>Other</a></li>
</ul>
</div>
<?php
$a = $default_Form;
$a['inputDefaults']['between'] = '<div class="col-sm-12">';
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.opening');?></h1>
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = '<div class="col-sm-12">';
echo $this->Form->input('DreamjobJobOpening.title',$a);
?>
<fieldset class="search">
<?=$this->Form->input('DreamjobJobOpening.branch',array('label'=>__('dreamjob.branch')));?>
<?=$this->Form->input('DreamjobJobOpening.postcode',array('label'=>__('dreamjob.postcode')));?>
<?=$this->Form->input('DreamjobJobOpening.city',array('label'=>__('dreamjob.city')));?>
<?=$this->Form->input('DreamjobJobOpening.graducation',array('label'=>__('dreamjob.graducation')));?>
<?=$this->Form->input('DreamjobJobOpening.kindofjob',array('label'=>__('dreamjob.kindofjob')));?>
<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>