Example #1
0
echo $form->field($model, 'LitigantTwo', ['template' => '{label}']);
?>
</td>
    <td colspan="3"><?php 
echo $form->field($model, 'LitigantTwo', ['template' => '{input}{error}']);
?>
</td>
  </tr>

  <tr>
    <td><?php 
echo $form->field($model, 'EntrustDeparment', ['template' => '{label}']);
?>
</td>
    <td colspan="3"><?php 
echo $form->field($model, 'EntrustDeparment', ['template' => '{input}{error}'])->dropDownList(Common::PrincipalDepartment());
?>
</td>
    <td><?php 
echo $form->field($model, 'Undertaker', ['template' => '{label}']);
?>
</td>
    <td><?php 
echo $form->field($model, 'Undertaker', ['template' => '{input}{error}']);
?>
</td>
    <td><?php 
echo $form->field($model, 'UndertakerTel', ['template' => '{label}']);
?>
</td>
    <td><?php