How can accomplish an if else statement from the underscore template to mustache
- by user2942566
I have an underscore template and I have to use Mustache to render it. Below is my underscore template:
<div id="sub-account">
<p>something</p>
<table>
<tr><td>Name</td>
</tr>
<tbody>
<% _.each(accountList, function(account) { %>
<tr>
…