This was using same name as the category one. Parent of amenities not
used right now.
<div id="newCatNameRequired"></div>
</td>
</tr>
- <tr>
- <td>
- <select id="newCatParent" name="newCatParent">
- {if $amenities}
- {foreach $amenities as $amenity}
-
- <option value="{$amenity.id}" data-parent="{$amenity.name}">{$amenity.name}</option>
-
- {/foreach}
- {/if}
- </select>
- </td>
- </tr>
</table>
<p><span class="glm-required">*</span> Required</p>
<a id="newAmenityCancel" class="button button-primary glm-right">Cancel</a>