?>
        </th><th style="width: 60%">
          <?php 
echo __('Title');
?>
        </th>
      </tr>
    </thead><tbody>
      <tr>
        <td>
          <input type="text" name="updateChildLevels[0][identifier]"/>
        </td><td>
          <select name="updateChildLevels[0][levelOfDescription]" id="updateChildLevels_0_levelOfDescription">
            <option value="">&nbsp;</option>
            <?php 
foreach (QubitTerm::getLevelsOfDescription() as $item) {
    ?>
              <option value="<?php 
    echo $item->id;
    ?>
"><?php 
    echo $item->__toString();
    ?>
</option>
            <?php 
}
?>
          </select>
        </td><td>
          <input type="text" name="updateChildLevels[0][title]"/>
        </td>
 protected function mapEdit($parameters)
 {
     // convert pipe-delimited values into multi-value
     $n = 0;
     foreach (explode('|', $parameters['parallelName']) as $new_parallelName) {
         $new_parallelNames['new' . $n] = $new_parallelName;
         $n++;
     }
     $parameters['parallelName'] = $new_parallelNames;
     $n = 0;
     foreach (explode('|', $parameters['otherName']) as $new_otherName) {
         $new_otherNames['new' . $n] = $new_otherName;
         $n++;
     }
     $parameters['otherName'] = $new_otherNames;
     // check constrained values are valid
     if (!isset($this->culture)) {
         $culture = $this->context->user->getCulture();
         $this->culture = sfCultureInfo::getInstance($culture);
     }
     // NB: this only matches ISO-639-2 codes, eg. "en"
     if (!in_array($parameters['language'], array_keys($this->culture->getLanguages()))) {
         unset($parameters['language']);
     }
     if (!in_array($parameters['languageOfDescription'], array_keys($this->culture->getLanguages()))) {
         unset($parameters['languageOfDescription']);
     }
     // NB: this only matches Symfony script codes, eg. "Latn"
     if (!in_array($parameters['script'], array_keys($this->culture->getScripts()))) {
         unset($parameters['script']);
     }
     if (!in_array($parameters['scriptOfDescription'], array_keys($this->culture->getScripts()))) {
         unset($parameters['scriptOfDescription']);
     }
     if (!isset($this->levelsOfDescription)) {
         foreach (QubitTerm::getLevelsOfDescription() as $term) {
             $this->levelsOfDescription[] = $term;
         }
     }
     if (!in_array($parameters['levelOfDescription'], $this->levelsOfDescription)) {
         unset($parameters['levelOfDescription']);
     }
     if (!isset($this->descriptionDetailLevels)) {
         foreach (QubitTerm::getDescriptionDetailLevels() as $term) {
             $this->descriptionDetailLevels[] = $term;
         }
     }
     if (!in_array($parameters['descriptionDetail'], $this->descriptionDetailLevels)) {
         unset($parameters['descriptionDetail']);
     }
     if (!isset($this->descriptionStatuss)) {
         foreach (QubitTerm::getDescriptionStatuses() as $term) {
             $this->descriptionStatuss[] = $term;
         }
     }
     if (!in_array($parameters['descriptionStatus'], $this->descriptionStatuss)) {
         unset($parameters['descriptionStatus']);
     }
     return $parameters;
 }