示例#1
0
echo $form->label($contact, 'sex');
?>
</td>
				<td><?php 
echo $form->radioButtonList($contact, 'sex', array('M' => 'Male', 'F' => 'Female'), array('horizontal' => true, 'template' => '{input} {label}'));
echo $form->error($contact, 'sex');
?>
</td>
			</tr>
			<tr>
				<td><?php 
echo $form->label($contact, 'email');
?>
</td>
				<td><?php 
echo $form->emailField($contact, 'email');
echo $form->error($contact, 'email');
?>
</li></td>
			</tr>
			<tr>
				<td><?php 
echo $form->label($contact, 'cellular');
?>
</td>
				<td><?php 
echo $form->textField($contact, 'cellular');
echo $form->error($contact, 'cellular');
?>
</li></td>
		</tr>
示例#2
0
echo $form->label($contact, 'sex');
?>
</td>
				<td><?php 
echo $form->radioButtonList($contact, 'sex', array('M' => 'Male', 'F' => 'Female'), array('template' => '{input} {label}'));
echo $form->error($contact, 'sex');
?>
</td>
			</tr>
			<tr>
				<td><?php 
echo $form->label($user, 'email');
?>
</td>
				<td><?php 
echo $form->emailField($user, 'email');
echo $form->error($user, 'email');
?>
</li></td>
			</tr>
			<tr>
				<td><?php 
echo $form->label($contact, 'cellular');
?>
</td>
				<td><?php 
echo $form->textField($contact, 'cellular');
echo $form->error($contact, 'cellular');
?>
</li></td>
		</tr>