1 then 'colspan="'+@gridCell.colspan+'"' else '' %> <%- if @gridCell.rowspan>1 then 'rowspan="'+@gridCell.rowspan+'"' else '' %> <% if @cell.columnName=='field' : %> data-field="" <% end %> <%- @cellAttr() %> <% if (@props.section == 'body' || @props.section == 'page') && @cell.permission : %> data-col="<%- @cell.permission %>" {$<%- @cell.permission %>_cell} <% end %> > <% for itemId in @cell.items : %> <%- include @page.items[itemId].template( @page ), @addItem( itemId ) %> <% end %>