getting used to jquery tmpls

This commit is contained in:
Sanj 2011-03-07 03:33:43 +05:30
parent 86388fd015
commit b0e8995586

View File

@ -1,8 +1,8 @@
<div class="itfInfo">
<span class="itfInfoSub">Story: </span><span class="itfInfoInfo">{{html tmplToHtml(story)}}</span><br /><br />
{{each stories}}
<span class="itfInfoSub">Story ${$index + 1}: </span><span class="ifInfoInfo">${value.text}</span>
<img class="itfInfoImg" src="${value.image}" />
<span class="itfInfoSub">Story ${$index + 1}: </span><span class="ifInfoInfo">${$value.text}</span>
<img class="itfInfoImg" src="${$value.image}" />
<br /><br />
{{/each}}
<span class="itfInfoSub">Law: </span><span class="itfInfoInfo">{{html tmplToHtml(law)}}</span>