xmpp.chapril.org-conversejs/src/templates/field.html

6 lines
196 B
HTML
Raw Normal View History

<field var="{{name}}">{[ if (_.isArray(value)) { ]}
{[ _.each(value,function(arrayValue) { ]}<value>{{arrayValue}}</value>{[ }); ]}
{[ } else { ]}
<value>{{value}}</value>
{[ } ]}</field>