Got next template in separate file section.htm:
<h3>${Name}</h3>
{{each Variables}}
{{tmpl($data) Type}}
${Type} | ${Name} | ${Value}
<br/>
{{/each}}
I need to render different templates (stored in htm files too) depending on Type. For example, for Type equal to "MultilineText" - MultilineText.htm should be used. Something like: {{tmpl($data) "MultilineText"}}
I already got MultilineText.htm loaded, compiled and cached.
Content of MultilineText.htm:
${Name}<textarea>${Value}</textarea>
But this code doesnt work :(
Please help.
Thanks.