complex condition

18 views
Skip to first unread message

andriy.mir...@manahealth.com

unread,
Dec 16, 2016, 1:30:44 PM12/16/16
to handlebars.java
I have 3 lines of code:
<tr><td colspan="2" class="subsectionHeading">Function and Provider Speciality</td> </tr>
{{#if function}}<tr><td class="labelCellIndent-1">Function:</td><td class="valueCell">{{function}}</td></tr>{{/if}}
{{#if function-code}}<tr><td class="labelCellIndent-1">Function Code:</td><td class="valueCell">{{function-code}}</td></tr>{{/if}}

Is it possible to hide first one in case of conditions for second and third are FALSE?
If yes, how to do this?
Reply all
Reply to author
Forward
0 new messages