dreamjob/app/View/Search/internship.ctp

42 lines
1.1 KiB
Plaintext
Raw Normal View History

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_internship'=>true));
2014-04-15 22:17:19 +02:00
$a = $default_Form;
$a['inputDefaults']['between'] = '<div class="col-sm-12">';
2014-04-16 18:24:34 +02:00
$a['novalidate'] = true;
2014-04-15 22:17:19 +02:00
echo $this->Form->create('DreamjobJobOpening',$a);
?>
2014-04-16 18:24:34 +02:00
<h1><?=__('dreamjob.search.internship');?></h1>
2014-04-15 22:17:19 +02:00
<?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.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($openings as $opening){
echo $this->element('job_opening_item',array('opening' => $opening));
}
?>
</div>
</div>