<tr>
    <th>   # {$itr}   </th>
    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="no_of_embryos" data-tableName="embryothawing" 
               value="{$data.no_of_embryos}" />
    </td>
    <td>
        <input type="text" class="form-control  datepicker updateElement"   
               data-colName="thawing_date"  data-tableName="embryothawing" 
               value="{$data.thawing_date}"  readonly       data-id="{$data.id}"/>
    </td>

    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="recovered" data-tableName="embryothawing" 
               value="{$data.recovered}" />
    </td>

    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="lost" data-tableName="embryothawing" 
               value="{$data.lost}" />
    </td>

    <td>
        <input type="text" class="form-control  datepicker updateElement"   
               data-colName="e_t_date"  data-tableName="embryothawing" 
               value="{$data.e_t_date}"   readonly    data-id="{$data.id}"/>
    </td>

    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="embryos" data-tableName="embryothawing" 
               value="{$data.embryos}" />
    </td>

    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="grades" data-tableName="embryothawing" 
               value="{$data.grades}" />
    </td>

    <td>
        <select class="form-control  select2me updateElement " data-id="{$data.id}"
                data-colName="embryol_oigist" data-tableName="embryothawing" >
            <option value="" >choose</option>
            {foreach  $embryologist as $one}
            <option value="{$one.user_id}" {if $data.embryol_oigist eq $one.user_id}selected{/if}>{$one.name}</option>
            {/foreach}
        </select>
    </td>

    <td>
        <select class="form-control  select2me updateElement " data-id="{$data.id}"
                data-colName="clinician" data-tableName="embryothawing" >
            <option value="" >choose</option>
            {foreach  $clinician as $one}
            <option value="{$one.user_id}" {if $data.clinician eq $one.user_id}selected{/if}>{$one.name}</option>
            {/foreach}
        </select>
    </td>

    <td>
        <input type="text" class="form-control updateElement" data-id="{$data.id}"
               data-colName="cathetr" data-tableName="embryothawing" 
               value="{$data.cathetr}" />
    </td>
</tr>


{literal}
<script type="text/javascript" >


    $("select.updateElement").select2({
        width: '170px',
        allowClear: true});

    $('.datepickertoday').datepicker('setDate', '+0');
    $(".datepicker").datepicker({
        todayBtn: "linked",
        autoclose: true,
        todayHighlight: true,
        format: 'yy-mm-dd',
        isRTL: true
    });
</script>
{/literal}