Purpose of this example is to study how to handle Underscore's template strings.
We will try 4 methods to handle templates:
<script>
tag placed in the head of this documentSo, by now you can see first 3 colums are empty and the 4th have a strange content inside.
Well, 1st 2nd 4rd columns will be rendered with templates placed somewhere (script, view object, ajax loaded template).
4th column contain it's template inside as simple HTML with some Underscore::template syntax.
click on buttons below to alter the model's property values.
please look to view's rendered contents to change according to model's data