
<table >
    <caption>
        Hormones        <button type="button" class="btn btn-xs blue addInvRow" id="invhormon" data-tableName="hormon" 
                                data-hus="1" data-itr="{$hormon_husCount }">  <i class="fa fa-plus"></i> </button>
    </caption>
    <tbody id="hormonHusDiv">
        {if $hormon_husCount > 0 }   
        <tr>
            <th class="wds8" > Date  </th>  
            <th class="wds8" > Serum TSH </th>
            <th class="wds8" > Day 3 serum E2  </th>  
            <th class="wds8"> Serum Prolactin  </th>  
            <th class="wds8" > Day 3 serum FSH  </th> 
            <th class="wds8" > Serum LH  </th> 
            <th class="wds8" > Serum AMH  </th> 
            <th class="wds2">   </th> 
        </tr>
        {/if}
        {foreach $hormon_hus as $hormon}
        <tr> 
            <td>
                <input type="text" class="form-control datepicker updateElement txtc" 
                       data-tableName="hormon" data-colName="sdate" data-id="{$hormon->id}" value="{$hormon->sdate}"/>
            </td> 
            <td>
                <input type="text" class="form-control updateElement" 
                       data-tableName="hormon" data-colName="tsh" data-id="{$hormon->id}" value="{$hormon->tsh}"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hormon"
                       data-colName="etwo" data-id="{$hormon->id}" value="{$hormon->etwo}"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hormon"
                       data-colName="prl" data-id="{$hormon->id}" value="{$hormon->prl}"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hormon"
                       data-colName="fsh" data-id="{$hormon->id}" value="{$hormon->fsh}"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hormon"
                       data-colName="lh" data-id="{$hormon->id}" value="{$hormon->lh}"/>
            </td>
            <td>
                <input type="text" class="form-control updateElement"  data-tableName="hormon"
                       data-colName="amh" data-id="{$hormon->id}" value="{$hormon->amh}"/>
            </td>
            <td>
                <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="{$hormon->id}" 
                   data-link="{$controllname}"  data-fn="del" data-tableName="hormon" data-colName="del">
                    <i class="fa fa-times"></i> </a>
            </td>
        </tr>
        {/foreach}
    </tbody>
</table>
