{namespace AJS.Templates} /** * A template to render {foreach $descriptor in $descriptors} {if $descriptor.properties.items} {foreach $option in $descriptor.properties.items} {call .option} {param option: $option /} {/call} {/foreach} {else} {call .option} {param option: $descriptor /} {/call} {/if} {/foreach} {/template} /** * Renders {/template}