dreamjob/app/View/Search/worker.ctp

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-04-17 00:15:44 +02:00
<?php
2014-05-11 13:36:55 +02:00
/*
*
*/
2014-04-17 00:15:44 +02:00
?>
<div class="box">
<?php
$a = $default_Form;
$a['inputDefaults']['between'] = false;
$a['inputDefaults']['after'] = false;
$a['novalidate'] = true;
echo $this->Form->create('DreamjobWorker',$a);
?>
2014-05-11 13:36:55 +02:00
<h3><?=__('dreamjob.search.worker');?></h3>
2014-04-17 00:15:44 +02:00
<?php
$a = $default_hForm['inputDefaults'];
$a['between'] = false;
$a['after'] = false;
2014-04-28 12:53:13 +02:00
$a['placeholder'] = __('dreamjob.search.worker.placeholder');
2014-04-17 00:15:44 +02:00
echo $this->Form->input('DreamjobWorker.name',$a);
?>
2014-05-11 13:36:55 +02:00
<fieldset class="search">
<?=$this->Form->input('DreamjobISearch.branch_id',array('label'=>__('dreamjob.branch'),'empty'=>__('dreamjob.chooseOne')));?>
<?=$this->Form->input('DreamjobISearch.job_id',array('label'=>__('dreamjob.job'),'empty'=>__('dreamjob.chooseOne')));?>
<?=$this->Form->input('DreamjobISearch.kindofjob_id',array('label'=>__('dreamjob.kindofjob'),'empty'=>__('dreamjob.chooseOne')));?>
<div class="form-group submit">
<div>
2014-04-17 00:15:44 +02:00
<?=$this->Form->submit(__('dreamjob.search'),array('class'=>'btn btn-primary'));?>
2014-05-11 13:36:55 +02:00
</div>
</div>
</fieldset>
2014-04-17 00:15:44 +02:00
<?php
echo $this->end();
?>
</div>
<div class="box">
2014-05-11 13:36:55 +02:00
<div class="openinggroup">
2014-04-17 00:15:44 +02:00
<?php
foreach($workers as $worker){
echo $this->element('user_worker_item',array('profil' => $worker));
}
?>
2014-05-11 13:36:55 +02:00
</div>
2014-04-17 00:15:44 +02:00
</div>