I'm doing a todo list on backbone by example. But I have an error when I'm using text/template. An error is - Tag start is not closed. :
<script type="text/template" id="item-template">
<div class="view">
<input class="toggle" type="checkbox" (error) <%= completed ? 'checked' : '' %>>
<label><%- title %></label>
<button class="destroy"></button>
</div>
<input class="edit" value="<%- title %>">
</script>