I'm trying to create a template modification that adds a new option to a radio unit in an admin template. This existing radio unit looks like so:
I want my new option to contain a drop-down menu whose options are pulled from an array set by the view controller, but I can't for the life of me figure out the syntax for it. I've tried <xen:selectunit>, <xen:select>, and plain-old <select>, combined with <xenptions> or just <xenption> inside an <xen:foreach>, and nothing works. How do I do this?
Code:
<xen:radiounit label="..." name="...">
<xen:option value="...">...</xen:option>
...
</xen:radiounit>
I want my new option to contain a drop-down menu whose options are pulled from an array set by the view controller, but I can't for the life of me figure out the syntax for it. I've tried <xen:selectunit>, <xen:select>, and plain-old <select>, combined with <xenptions> or just <xenption> inside an <xen:foreach>, and nothing works. How do I do this?