dreamjob/app/View/Search/company.ctp

42 lines
1.0 KiB
PHP

<?php
/*
*
*/
?>
<div class="box">
<?php
echo $this->element('search_navbar',array('SEARCH_company'=>true));
$a = $default_Form;
$a['inputDefaults']['between'] = '<div class="col-sm-12">';
$a['novalidate'] = true;
echo $this->Form->create('DreamjobJobOpening',$a);
?>
<h1><?=__('dreamjob.search.company');?></h1>
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = '<div class="col-sm-12">';
echo $this->Form->input('DreamjobCompany.title',$a);
?>
<fieldset class="search">
<?=$this->Form->input('DreamjobJobOpening.branch',array('label'=>__('dreamjob.branch')));?>
<?=$this->Form->input('DreamjobJobOpening.city',array('label'=>__('dreamjob.city')));?>
<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($companies as $company){
echo $this->element('job_company_item',array('company' => $company));
}
?>
</div>
</div>