<style>
    table {
        font-family: arial, sans-serif;
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed
    }

    td, th {
        border: 1px solid #000000;
        text-align: center;
        padding: 2px;
    }

    tr:nth-child(even) {
        //   background-color: #dddddd;
    }
</style>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12 clinick invz" id="gprinModel">
                <!-- BEGIN EXAMPLE TABLE PORTLET-->
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Sperm Extraction Report
                        </div>
                        <div class="actions">
                            {if isset($is_add)}
                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=complete_one&&show={$show}&&patientid={$patientId}&&id={$sperm_extract.id}&&tname={$tableName}" 
                               class="btn btn-default btn-sm pull-left" style="margin-right: 5px;">
                                save </a>
                            {/if}
                            <a href="{$hosturl}/controllers/{$controllname}.php?ac=sperm_extract&&patientid={$patientId}" class="btn btn-default btn-sm">
                                Show </a>

                        </div>
                    </div>
                    <div class="portlet-body all">

                        <!---======================================================== tab1============================================================================================ ----->

                        <div class="row">
                            <div id="ultrasoundgynaDiv">

                                <div class="row">

                                    <div class="portlet-body form">
                                        <form>
                                            <div class="form-body">

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      Previous Diagnosis  :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="prev_diagnosis" 
                                                                       value="{$sperm_extract.prev_diagnosis}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>

                                                        <tr>
                                                            <th class="wds20">      Viral Screenig   :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="viral_screen" 
                                                                       value="{$sperm_extract.viral_screen}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <div class="clearfix"></div>
                                                <hr>


                                                <div class="caption font-green-haze col-md-6">
                                                    <span class="caption-subject bold uppercase">  History: </span>
                                                </div>

                                                <div class="clearfix"></div>

                                                <table>
                                                    <tbody>

                                                        <tr>
                                                            <th rowspan="2">      Marital Status  </th>
                                                            <th rowspan="2">      Radiology  </th>
                                                            <th rowspan="2">      Drug Regimen  </th>
                                                            <th colspan="3">      Operations   </th>
                                                        </tr>                                                   
                                                        <tr>
                                                            <th>Varic</th>
                                                            <td>
                                                                <select id="varic_select{$sperm_extract.id}"  class="form-control varicSelect updateItemH" 
                                                                        data-rowid="{$sperm_extract.id}" 
                                                                        name="varic1" select-tableName="varic_select" data-colName="varic1" 
                                                                        data-tableName="sperm_extract" >
                                                                    <option value="">choose</option>
                                                                    {foreach  $varic_select as $one}
                                                                    <option value="{$one->id}"{if $sperm_extract.varic1 eq $one->id}selected{/if}>{$one->name}</option>
                                                                    {/foreach}

                                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="varic2" 
                                                                       value="{$sperm_extract.varic2}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>  
                                                                <input type="text" class="form-control  updateElement"   data-colName="marital" 
                                                                       value="{$sperm_extract.marital}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                            <td rowspan="3"> 
                                                                <textarea class="form-control updateElement txtc " data-colName="radiology" 
                                                                          data-id="{$sperm_extract.id}"  data-tableName="sperm_extract" rows="4"  >
                                                                    {$sperm_extract.radiology}  
                                                                </textarea>
                                                            </td>
                                                            <td rowspan="3"> 
                                                                <textarea class="form-control updateElement txtc " data-colName="drug_regimen" 
                                                                          data-id="{$sperm_extract.id}"  data-tableName="sperm_extract" rows="4"  >
                                                                    {$sperm_extract.drug_regimen}  
                                                                </textarea>
                                                            </td>
                                                            <th>Asp.</th>
                                                            <td>
                                                                <select id="asp_select{$sperm_extract.id}"  class="form-control aspSelect updateItemH" 
                                                                        data-rowid="{$sperm_extract.id}" 
                                                                        name="asp1" select-tableName="asp_select" data-colName="asp1" 
                                                                        data-tableName="sperm_extract" >
                                                                    <option value="">choose</option>
                                                                    {foreach  $asp_select as $one}
                                                                    <option value="{$one->id}"{if $sperm_extract.asp1 eq $one->id}selected{/if}>{$one->name}</option>
                                                                    {/foreach}

                                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="asp2" 
                                                                       value="{$sperm_extract.asp2}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <th>No. of Children</th>
                                                            <th>TB</th>
                                                            <td>
                                                                <select id="tb_select{$sperm_extract.id}"  class="form-control tbSelect updateItemH" 
                                                                        data-rowid="{$sperm_extract.id}" 
                                                                        name="tb1" select-tableName="tb_select" data-colName="tb1" 
                                                                        data-tableName="sperm_extract" >
                                                                    <option value="">choose</option>
                                                                    {foreach  $tb_select as $one}
                                                                    <option value="{$one->id}"{if $sperm_extract.tb1 eq $one->id}selected{/if}>{$one->name}</option>
                                                                    {/foreach}

                                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="tb2" 
                                                                       value="{$sperm_extract.tb2}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>  
                                                                <input type="text" class="form-control  updateElement"   data-colName="children_no" 
                                                                       value="{$sperm_extract.children_no}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                            <th>mTB</th>
                                                            <td>
                                                                <select id="mtb_select{$sperm_extract.id}"  class="form-control mtbSelect updateItemH" 
                                                                        data-rowid="{$sperm_extract.id}" 
                                                                        name="mtb1" select-tableName="mtb_select" data-colName="mtb1" 
                                                                        data-tableName="sperm_extract" >
                                                                    <option value="">choose</option>
                                                                    {foreach  $mtb_select as $one}
                                                                    <option value="{$one->id}"{if $sperm_extract.mtb1 eq $one->id}selected{/if}>{$one->name}</option>
                                                                    {/foreach}

                                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                                </select>
                                                            </td>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="mtb2" 
                                                                       value="{$sperm_extract.mtb2}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>

                                                <div class="clearfix"></div>
                                                <hr>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      History of ICSI trials   :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="icsi_trials" 
                                                                       value="{$sperm_extract.icsi_trials}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <div class="clearfix"></div>
                                                <hr>
                                                <div class="caption font-green-haze col-md-6">
                                                    <span class="caption-subject bold uppercase">  Sample Type : </span>
                                                </div>

                                                <div class="clearfix"></div>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      </th>
                                                            <td> Right  </td>
                                                            <td> Left  </td>
                                                            <td> Bilateral </td>
                                                        </tr>

                                                        <tr>
                                                            <th class="wds20">      Epid. Aspiration  :  </th>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="epid_aspiration1" name="epid_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="epid_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="1" 
                                                                           {if  $sperm_extract.epid_aspiration == 1 } checked {/if}>
                                                                    <label for="epid_aspiration1">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="epid_aspiration2" name="epid_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="epid_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="2" 
                                                                           {if  $sperm_extract.epid_aspiration == 2 } checked {/if}>
                                                                    <label for="epid_aspiration2">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="epid_aspiration3" name="epid_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="epid_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="3" 
                                                                           {if  $sperm_extract.epid_aspiration == 3 } checked {/if}>
                                                                    <label for="epid_aspiration3">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                        </tr>

                                                        <tr>
                                                            <th class="wds20">   Test. Aspiration   </th>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_aspiration1" name="test_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="1" 
                                                                           {if  $sperm_extract.test_aspiration == 1 } checked {/if}>
                                                                    <label for="test_aspiration1">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_aspiration2" name="test_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="2" 
                                                                           {if  $sperm_extract.test_aspiration == 2 } checked {/if}>
                                                                    <label for="test_aspiration2">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_aspiration3" name="test_aspiration" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_aspiration" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="3" 
                                                                           {if  $sperm_extract.test_aspiration == 3 } checked {/if}>
                                                                    <label for="test_aspiration3">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                        </tr>

                                                        <tr>
                                                            <th class="wds20">   Test. Biopsy   </th>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_biopsy1" name="test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="1" 
                                                                           {if  $sperm_extract.test_biopsy == 1 } checked {/if}>
                                                                    <label for="test_biopsy1">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_biopsy2" name="test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="2" 
                                                                           {if  $sperm_extract.test_biopsy == 2 } checked {/if}>
                                                                    <label for="test_biopsy2">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="test_biopsy3" name="test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="3" 
                                                                           {if  $sperm_extract.test_biopsy == 3 } checked {/if}>
                                                                    <label for="test_biopsy3">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                        </tr>

                                                        <tr>
                                                            <th class="wds20">    Micro Test. Biopsy  </th>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="micro_test_biopsy1" name="micro_test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="micro_test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="1" 
                                                                           {if  $sperm_extract.micro_test_biopsy == 1 } checked {/if}>
                                                                    <label for="micro_test_biopsy1">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="micro_test_biopsy2" name="micro_test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="micro_test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="2" 
                                                                           {if  $sperm_extract.micro_test_biopsy == 2 } checked {/if}>
                                                                    <label for="micro_test_biopsy2">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                            <td>
                                                                <div class="md-radio" style="margin-left: 50%;">
                                                                    <input type="radio" id="micro_test_biopsy3" name="micro_test_biopsy" 
                                                                           data-id="{$sperm_extract.id}" 
                                                                           data-colName="micro_test_biopsy" data-tableName="sperm_extract"
                                                                           class="md-radiobtn updateElement" value="3" 
                                                                           {if  $sperm_extract.micro_test_biopsy == 3 } checked {/if}>
                                                                    <label for="micro_test_biopsy3">
                                                                        <span></span>
                                                                        <span class="check"></span>
                                                                        <span class="box"></span>
                                                                    </label>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <div class="clearfix"></div>
                                                <hr>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      No. Of Samples :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="samples_no" 
                                                                       value="{$sperm_extract.samples_no}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      Examination    :  </th>
                                                            <td>
                                                                <div class="md-radio-inline">
                                                                    <div class="md-radio" style="margin-left: 15%;">
                                                                        <input type="radio" id="examination1" name="examination" 
                                                                               data-id="{$sperm_extract.id}" 
                                                                               data-colName="examination" data-tableName="sperm_extract"
                                                                               class="md-radiobtn updateElement" value="1" 
                                                                               {if  $sperm_extract.examination == 1 } checked {/if}>
                                                                        <label for="examination1">
                                                                            <span></span>
                                                                            <span class="check"></span>
                                                                            <span class="box"></span>
                                                                            + </label>
                                                                    </div>

                                                                    <div class="md-radio" style="margin-left: 15%;">
                                                                        <input type="radio" id="examination2" name="examination" 
                                                                               data-id="{$sperm_extract.id}" 
                                                                               data-colName="examination" data-tableName="sperm_extract"
                                                                               class="md-radiobtn updateElement" value="2" 
                                                                               {if  $sperm_extract.examination == 2 } checked {/if}>
                                                                        <label for="examination2">
                                                                            <span></span>
                                                                            <span class="check"></span>
                                                                            <span class="box"></span>
                                                                            - </label>
                                                                    </div>
                                                                </div>
                                                            </td>
                                                            <th class="wds10">      Notes     :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="notes" 
                                                                       value="{$sperm_extract.notes}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      Histopathology    :  </th>
                                                            <td>
                                                                <div class="md-radio-inline wds47 ">
                                                                    <div class="md-radio">
                                                                        <input type="radio" id="histopathology1" name="histopathology" 
                                                                               data-id="{$sperm_extract.id}" 
                                                                               data-colName="histopathology" data-tableName="sperm_extract"
                                                                               class="md-radiobtn updateElement" value="1" 
                                                                               {if  $sperm_extract.histopathology == 1 } checked {/if}>
                                                                        <label for="histopathology1">
                                                                            <span></span>
                                                                            <span class="check"></span>
                                                                            <span class="box"></span>
                                                                            Yes </label>
                                                                    </div>

                                                                    <div class="md-radio">
                                                                        <input type="radio" id="histopathology2" name="histopathology" 
                                                                               data-id="{$sperm_extract.id}" 
                                                                               data-colName="histopathology" data-tableName="sperm_extract"
                                                                               class="md-radiobtn updateElement" value="2" 
                                                                               {if  $sperm_extract.histopathology == 2 } checked {/if}>
                                                                        <label for="histopathology2">
                                                                            <span></span>
                                                                            <span class="check"></span>
                                                                            <span class="box"></span>
                                                                            No </label>
                                                                    </div>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">      No. Of frozen Samples :  </th>
                                                            <td>
                                                                <input type="text" class="form-control  updateElement"   data-colName="frozen_samples" 
                                                                       value="{$sperm_extract.frozen_samples}"  data-tableName="sperm_extract" 
                                                                       data-id="{$sperm_extract.id}"/>
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>

                                                <div class="clearfix"></div>
                                                <hr>

                                                <table>
                                                    <thead>
                                                        <tr>
                                                            <th class="wds20">     Surgeon  :  </th>
                                                            <td>
                                                                <input type="hidden" class="form-control updateElement"    id="clinician_id" 
                                                                       data-colName="sergeon" data-tableName="sperm_extract" data-id="{$sperm_extract.id}" >
                                                                <input type="hidden" class="form-control"    id="clinician_id_value"  
                                                                       value="{$sperm_extract.sergeon}" >
                                                                <input type="hidden" class="form-control"    id="clinician_name"  
                                                                       value="{$sperm_extract.sergeon_name}" >
                                                            </td>
                                                            <th class="wds20">     Embryologist :  </th>
                                                            <td>
                                                                <input type="hidden" class="form-control updateElement"    id="embryologist_id" 
                                                                       data-colName="embryologist" data-tableName="sperm_extract"  data-id="{$sperm_extract.id}">
                                                                <input type="hidden" class="form-control"    id="embryologist_id_value"  
                                                                       value="{$sperm_extract.embryologist}" >
                                                                <input type="hidden" class="form-control"    id="embryologist_name"  
                                                                       value="{$sperm_extract.embryologist_name}" >
                                                            </td>
                                                        </tr>
                                                    </thead>
                                                </table>
                                            </div>
                                        </form>
                                    </div>

                                </div>
                                <div class="clearfix"></div>

                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>

            <div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_model">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                            <h4 class="modal-title"> Edit </h4>
                        </div>
                        <div class="modal-body">
                            <div class="portlet-body form">
                                <form action="" method="post" class="form-horizontal emptyform">
                                    <div class="form-body">
                                        <!------===========================================------->
                                        <div>
                                            <div id="alldatadiv" class=""> </div>
                                        </div>

                                        <!------===========================================------->
                                        <!--                            <div class="form-group">
                                                                        <label class="col-md-3 control-label"> Name</label>
                                                                        <div class="col-md-8">
                                                                            <input type="hidden" class="form-control"  id="newitem_id" name="newamount_id" >
                                                                            <input type="text" class="form-control"  id="newitem_name" name="newamount_name" style="text-align:left;" >
                                                                            <div id="divsucess1" style="color:red; display:none;"></div>
                                                                        </div>
                                                                    </div>-->
                                        <!------===========================================------->
                                        <div class="modal-footer">
                                            <!--                                <button type="button" class="btn green" id="editmodel_submit"> Update </button>-->
                                            <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="clearfix"></div>
<div id="vvv"></div>
<input type="hidden" id="controllName" value="{$controllname}">
<input type="hidden" id="embroSelects" value="1">
<input type="hidden" id="row_id" value="{$sperm_extract.id}"/>
<input type="hidden" id="embryoslab" value="{$embryoslab_id}">

<script>


    $(".amrpop,input[type='text']:not(.datepicker),textarea").hover(function () {
        var pop_value = $(this).val();
        $(this).attr({
            "data-toggle": "popover",
            "data-trigger": "hover",
            "data-placement": "bottom",
            "data-content": pop_value
        });
        $(this).popover("show");
    });


</script>