?> <?php $entry_types = $entry->getEntryTypes(); ?> <tr> <th>Entry Type:</th> <td> <select name="entry_type_id"> <?php foreach ($entry_types as $entry_type_id => $entry_type) { ?> <option value="<?php echo $entry_type_id; ?> "<?php if ($entry_type_id == $entry->getEntryTypeId()) { ?> selected<?php } ?> > <?php echo $entry_type; ?> </option> <?php } ?> </select> </td> </tr>