Пример #1
0
			</td>
		</tr>
		<tr>
			<td>Bizrule:</td>
			<td colspan=2">
			<?php 
echo CHTML::textArea('editItem[bizrule]', $editItem->bizrule, array('cols' => 70, 'rows' => 4));
?>
<br/>
			</td>
		</tr>
		<tr>
			<td>Data:</td>
			<td colspan=2">
			<?php 
echo CHTML::textArea('editItem[data]', $editItem->data, array('cols' => 70, 'rows' => 4));
?>
<br/>
			</td>
		</tr>
		<tr>
			<td colspan="3">
			<?php 
if (!$displayHelper->hasItems() || isset($_GET['createNew'])) {
    echo CHtml::submitButton('Create Item', array('name' => 'createItem'));
} else {
    ?>
Edit/Create/Delete:<br/>
				<table>
					<tr>
						<td>