Note: By "handlebars" I don't mean Handlebars.js, I just mean the double curly braces.
I have a table, and in one of the columns I want to display the data, and an additional HTML element depending on the outcome of the ternary operation.
Here is my code for the td
<td>{{item.ProjectNumber}}{{item.DateSubmitted.toString().length > 0 ? null : <span class="error">Incomplete</span>}}</td>
If I don't try to make it an element (rather just display 'Incomplete'), it works fine. But when I do try to add that span, that whole piece of code is added to the td.
So how can I create an HTML element inside of the handlebars?