Example #1
0
				<td><?php 
echo $form->label($ticket, 'status', array('label' => \GO::t('ticketStatus', 'defaultsite')));
?>
</td>
				<td><?php 
echo \GO::t('ticketStatusOpen', 'defaultsite');
?>
</td>
			</tr>
			<tr>
				<td><?php 
echo $form->label($ticket, 'priority', array('label' => \GO::t('ticketPriority', 'defaultsite')));
?>
</td>
				<td><?php 
echo $form->checkBox($ticket, 'priority');
?>
</td>
			</tr>
			
			<!--			
			Example on how to add a custom field
			<tr>
				<td><?php 
// echo $form->label($ticket->customfieldsRecord, 'col_58');
?>
</td>
				<td><?php 
// echo $form->textField($ticket->customfieldsRecord, 'col_58');
?>
</td>
Example #2
0
					<td><?php 
echo $form->label($company, 'country');
?>
					<td><?php 
echo $form->dropDownList($company, 'country', \GO::language()->getCountries());
echo $form->error($company, 'country');
?>
</td>
				</tr>
<!--				<tr>
					<td><?php 
echo $form->label($company, 'postAddressIsEqual');
?>
</td>
					<td><?php 
echo $form->checkBox($company, 'postAddressIsEqual');
?>
</td>
			</tr>-->
		</table>


			<h3><?php 
echo \GO::t('usernameandpassword', 'defaultsite');
?>
</h3>
			<table class="table-registration-user">
				<tr>
					<td><?php 
echo $form->label($user, 'username');
?>