title: Achieving logic-less Javascript templates in a single page web app
body: <p>I am using underscore.js templating and I am finding that I need logic in my templates to control their rendering. One example might be to ensure the state of a form is retained and rendered correctly across a template re-render.</p>
  
  <p>Does anyone have any tips on how best to reduce the logic in my templates? Is this even a desireable goal?</p>