{foreach  $inv->elements  as $data}
<tr>
    <td>
        <table style="width: 98%;margin: 5px auto;" cellpadding="2" class="noborder">
            <tr style="line-height: 25px; ">
                <td class="wds30" style="vertical-align: top;" >
                    <ul> 
                        <li style="list-style: disc;font-weight: bold;"> {$data->show_name}   <span style="float: right">:</span> </li>
                    </ul> 
                </td>

                <td class="wds25" style="text-align: center; vertical-align: top;"> 
                    <div class=" wds50   {if   $data->element_text_low == 1 ||  $data->element_text_high == 1}     bg-grey  {/if}" style=" margin-left: 25%; ">
                        <span style="float: left;"> {$data->content->element_select_text} </span>
                        <span style="float: right;">{$data->content->element_text}</span>
                    </div>  

                </td>
                <td class="wds10" style="vertical-align: top;" >
                    {$data->content->element_text_unit}
                </td>

                <td class="wds5" style="vertical-align: top;" >
                    {if $data->content->element_text_low == 1 } L  {else if $data->content->element_text_high == 1 } H   {/if}
                </td>
                <td style="vertical-align: top;" >  
                    {if $data->content->element_text_range_txt != Null && $data->content->element_text_range_txt  != ''}  
                    {$data->content->element_text_range_txt}
                    {/if}  
                </td>
            </tr>
        </table>

    </td>
</tr>

{/foreach}
{if $inv->comment != Null && $inv->comment != ''}  

<tr>
    <td>
        <table style="width: 98%;margin-left: 3%;" cellpadding="2" class="noborder">
            <tr>
                <td class="wds17" style="vertical-align: top;"><ul> <li style="list-style: none;font-weight: bold;margin-left: -6%;">Comment :  </li> </ul></td>

                <td><ul> <li>    {$inv->comment}</li> </ul></td>
            </tr>
        </table>
    </td>
</tr>
{/if} 

