<td>
    {foreach $cells as $cell}
    <span class="tankLocationSpan btn  btn-danger" data-location="{$cell.location}" data-no="{$cell.btn_no}">
        Can {$cell.location}{$cell.btn_no}
        ({$cell.rows_letter}{$cell.row_no}  - 
        {$cell.col_no}  -  
        cell{$cell.cell_no}) 
    </span>
    {/foreach}
</td>