<div class="form-group">
<label for="QualificationSchool" class="float_left">Date Attended</label>
<?php
echo $this->Form->input('month_val', array('class' => 'form-control left_month_box', 'dateFormat' => 'M', 'monthNames' => true, 'separator' => ' ', 'type' => 'date', 'label' => false, 'div' => false));
echo $this->Form->input('year_val', array('class' => 'form-control right_year_box', 'dateFormat' => 'Y', 'separator' => ' ', 'minYear' => date('Y') - 70, 'maxYear' => date('Y', strtotime('+0 years')), 'type' => 'date', 'label' => false, 'div' => false));
?>
</div>
<label for="QualificationSchool" class="float_left">Date Attended</label>
<?php
echo $this->Form->input('month_val', array('class' => 'form-control left_month_box', 'dateFormat' => 'M', 'monthNames' => true, 'separator' => ' ', 'type' => 'date', 'label' => false, 'div' => false));
echo $this->Form->input('year_val', array('class' => 'form-control right_year_box', 'dateFormat' => 'Y', 'separator' => ' ', 'minYear' => date('Y') - 70, 'maxYear' => date('Y', strtotime('+0 years')), 'type' => 'date', 'label' => false, 'div' => false));
?>
</div>
No comments:
Post a Comment