dreamjob/app/View/Search/company.ctp

46 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2015-03-31 14:49:03 +02:00
<?php
/*
*
*/
?>
<div class="box">
<?php
echo $this->element('search_navbar',array('SEARCH_company'=>true));
$a = $default_Form;
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['novalidate'] = true;
echo $this->Form->create('DreamjobCompany',$a);
?>
<h3><?=__('dreamjob.search.company');?></h3>
<?php
$a = $default_hForm['inputDefaults'];
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['placeholder']=__('dreamjob.search.company.placeholder');
echo $this->Form->input('AppUser.nickname',$a);
?>
<fieldset class="search">
<?=$this->Form->input('DreamjobCompany.branch_id',array('label'=>__('dreamjob.branch'),'empty'=>__('dreamjob.chooseOne')));?>
<?=$this->Form->input('DreamjobUser.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($companies as $company){
echo $this->element('job_company_item',array('company' => $company));
}
?>
</div>
</div>