<?php } ?> <?php } ?> </table> </li> <?php } ?> <?php foreach ($fields as $item) { ?> <?php FieldWidget::run($item); ?> <?php } ?> </ul> <?php if ($_GET['tree'] != 'new') { ?> <div class="edit_form_section edit_form_section_other create-additional"> <table class="edit_form_table"> <tr> <td><strong>Создать дополнительно</strong></td> <td> <select class="jsSelectStyled" id="FieldList" onchange="addRow()"> <option value=""></option>
<?php FieldWidget::run(array('type' => $_POST['type']));