<div class="tab-pane  " id="tabsc_5">
    <table>
        <thead>
            <tr>
                <th class="wds5">  NO</th>
                <th > stage</th>
                <th >   grade  </th>
                <th >   Media  </th>
                <th >   Oil  </th>
                <th >   Incubator  </th>
                <th >  Embryologist  </th>
            </tr>

        </thead>
        <tbody id="scoringTable">
            {assign var=myItra value=1}
            {foreach $scoring as $one_scoring}
            <tr>
                <td> {$myItra} </td>

                <td>
                    <select id="s_5_{$myItra}" class="form-control selectStage update_itemS" data-tableName="embryoscoring"  data-rowid="{$one_scoring->id}" name="stage5" select-tableName="stage" data-colName="stage5">
                        <option value="">choose</option>
                        {foreach  $stages as $one}
                        <option value="{$one->id}"{if $one_scoring->stage5 eq $one->id}selected{/if}>{$one->stage}</option>
                        {/foreach}

                        <option value="-2" class="deleteoptincompo">Delete</option>
                    </select>
                </td>
                <td>
                    <select id="g_5_{$myItra}" class="form-control selectGrade update_itemS" data-tableName="embryoscoring"  data-rowid="{$one_scoring->id}" name="grade5" select-tableName="grade" data-colName="grade5">
                        <option value="">choose</option>
                        {foreach  $grades as $one}
                        <option value="{$one->id}"{if $one_scoring->grade5 eq $one->id}selected{/if}>{$one->grade}</option>
                        {/foreach}

                        <option value="-2" class="deleteoptincompo">Delete</option>
                    </select>
                </td>
                <td>
                    <select  id="mediaSC5_{$one_scoring->id}"  class="form-control  update_itemS growthmedia select2Lab"   multiple
                             data-colName="media5" data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_media as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->media5}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>    
                </td>

                <td>
                    <select   id="oilSC5_{$one_scoring->id}"   class="form-control  update_itemS growthoil select2Lab"   multiple
                              data-colName="oil5" data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_oil as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->oil5}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>     
                </td>

                <td>
                    <select    id="incubatorSC5_{$one_scoring->id}"  class="form-control  update_itemS growthincubator select2Lab"   multiple 
                               data-colName="incubator5"   data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_incubator as $one}
                        <option value="{$one->id}"{if $one->id|in_array:$one_scoring->incubator5}selected{/if}>{$one->name}</option>
                        {/foreach}
                    </select>     
                </td>

                <td>
                    <select    id="embrologistSC5_{$one_scoring->id}"  class="form-control  update_itemS  select2Lab"   multiple 
                               data-colName="embrologist5"   data-tableName="embryoscoring" data-rowid="{$one_scoring->id}">
                        <option value="">choose</option>
                        {foreach  $scoring_embrologist as $one}
                        <option value="{$one.id}"{if $one.id|in_array:$one_scoring->embrologist5}selected{/if}>{$one.name}</option>
                        {/foreach}
                    </select>     
                </td>
            </tr>
            {capture assign=myItra}{$myItra+1}{/capture}
            {/foreach}

        </tbody>
    </table>
</div>