0

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>
mu is too short
  • 426,620
  • 70
  • 833
  • 800
Andrii Pryimak
  • 797
  • 2
  • 10
  • 33

0 Answers0