dreamjob/app/View/Job/application_send.ctp

41 lines
1.4 KiB
PHP

<?php
/*
* Formular zum Bewerbungen verschicken
*/
?>
<div class="box">
<?=$this->element('job_opening_head');?>
<?=$this->element('job_opening_head_extra');?>
</div>
<div class="box">
<?php echo $this->Form->create('DreamjobJobApplication',$default_Form); ?>
<fieldset>
<legend><?=__("dreamjob.application.form");?></legend>
<?php
//echo $this->Form->hidden('DreamjobJobApplication.id');
echo $this->Form->hidden('DreamjobJobApplication.opening_id');
echo $this->Form->hidden('DreamjobJobApplication.worker_id');
echo $this->Form->textarea('DreamjobJobApplication.text',array("class"=>'form-control',"rows"=>10));
?>
<legend><?=__("dreamjob.application.addPages");?></legend>
<?php
$page_options = array();
foreach($pages as $page){
$page_options[$page['id']]= $page['title'];
}
echo $this->Form->select('DreamjobJobApplicationPage.page_id', $page_options, array(
'multiple' => 'checkbox'));
?>
<div class="buttonrow">
<div class="checkbox" style="width:20%;display:inline-block;">
<?=$this->Form->checkbox('agb');?>
<?=$this->Html->link(__("dreamjob.agb.accept"),array('controller'=>'home','action'=>'agb'),array('ref'=>'external'));?></span>
</div>
<br/>
<?=$this->Form->button(__('dreamjob.application.send'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
</fieldset>
<?php echo $this->Form->end(); ?>
</div>