2014-04-15 22:17:19 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div class="box">
|
|
|
|
<?php
|
2014-04-16 18:24:34 +02:00
|
|
|
echo $this->element('search_navbar',array('SEARCH_company'=>true));
|
2014-04-15 22:17:19 +02:00
|
|
|
$a = $default_Form;
|
2014-04-17 08:59:04 +02:00
|
|
|
$a['inputDefaults']['between'] = false;
|
|
|
|
$a['inputDefaults']['after'] = false;
|
2014-04-16 18:24:34 +02:00
|
|
|
$a['novalidate'] = true;
|
2014-04-28 12:53:13 +02:00
|
|
|
|
|
|
|
echo $this->Form->create('DreamjobCompany',$a);
|
2014-04-15 22:17:19 +02:00
|
|
|
?>
|
2014-04-16 18:24:34 +02:00
|
|
|
<h1><?=__('dreamjob.search.company');?></h1>
|
2014-04-15 22:17:19 +02:00
|
|
|
<?php
|
|
|
|
$a = $default_hForm['inputDefaults'];
|
2014-04-17 08:59:04 +02:00
|
|
|
$a['inputDefaults']['between'] = false;
|
|
|
|
$a['inputDefaults']['after'] = false;
|
2014-04-28 12:53:13 +02:00
|
|
|
$a['placeholder']=__('dreamjob.search.company.placeholder');
|
2014-04-17 12:03:14 +02:00
|
|
|
echo $this->Form->input('AppUser.nickname',$a);
|
2014-04-15 22:17:19 +02:00
|
|
|
?>
|
|
|
|
<fieldset class="search">
|
2014-04-28 12:53:13 +02:00
|
|
|
<?=$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'));?>
|
2014-04-15 22:17:19 +02:00
|
|
|
<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
|
2014-04-16 18:24:34 +02:00
|
|
|
foreach($companies as $company){
|
|
|
|
echo $this->element('job_company_item',array('company' => $company));
|
2014-04-15 22:17:19 +02:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
</div>
|