I am modifying an email template and from what I have seen it may be JSP expression tags. What I am trying to do is write a ternary for the email template. I get it partially working with,
<%= data.unitNumber ? data.unitNumber : " " %>
but what I need done is something along the lines of
<%= data.unitNumber ? <span>Unit Number: data.unitNumber</span> : " " %>
When I add a tag or a string it no longer works... any help would be appreciated.
Thanks