コード例 #1
0
ファイル: _search.php プロジェクト: luckily/casehistory
?>

		<?php 
echo $form->textFieldGroup($patient, 'id', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5'))));
?>

		<?php 
echo $form->textFieldGroup($patient, 'id_card_number', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255))));
?>

		<?php 
echo $form->textFieldGroup($patient, 'name', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255))));
?>

		<?php 
echo $form->dropDownListGroup($patient, 'sex', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => ViewHelper::sexSelectOptions(), 'htmlOptions' => array())));
?>


		<?php 
echo $form->datePickerGroup($patient, 'birthday', array('widgetOptions' => array('options' => array(), 'htmlOptions' => array('class' => 'span5')), 'prepend' => '<i class="glyphicon glyphicon-calendar"></i>', 'append' => 'Click on Month/Year to select a different Month/Year.'));
?>

		<?php 
echo $form->textFieldGroup($patient, 'birth_weight', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5'))));
?>

		<?php 
echo $form->textFieldGroup($patient, 'telphone', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255))));
?>