{{#if id2}} <div class="dis-row"> <span class="type" data-id="{{id1}}" data-content="{{id1Content}}"> {{id1Content}} </span> <span class="type" data-id="{{id2}}" data-content="{{id2Content}}"> {{id2Content}} </span> </div> {{else}} <div class="dis-row"> <span class="type" data-id="{{id1}}" data-content="{{id1Content}}"> {{id1Content}} </span> </div> {{/if}}