2017-11-05 18:47:30 +01:00
|
|
|
<field var="{{{o.name}}}">
|
2018-06-04 10:26:44 +02:00
|
|
|
{[ if (o.value.constructor === Array) { ]}
|
2018-06-02 17:18:42 +02:00
|
|
|
{[ o.value.forEach(function (arrayValue) { ]}<value>{{{arrayValue}}}</value>{[ }); ]}
|
2014-11-13 22:18:32 +01:00
|
|
|
{[ } else { ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
<value>{{{o.value}}}</value>
|
2014-11-13 22:18:32 +01:00
|
|
|
{[ } ]}</field>
|