
<tr id="preRow{$itr}">
    <td>
        <select class="form-control xx preCat " id="preCat{$itr}" name="preCat{$itr}"  data-itr="{$itr}"  data-placeholder="Select..."  >
            <option value="">Choose Category</option>
            {foreach $allDrugcats as $cat}
            <option value="{$cat['drugcat']}">{$cat['drugcat']}</option>
            {/foreach}
        </select>
    </td>
    <td>
        <select class="form-control xx preName " id="preName{$itr}"  name="preName{$itr}"   data-createNew="0"    data-itr="{$itr}" data-placeholder="Select..."  >
            <option value="">Choose Drug</option>
            {foreach $drugs as $drug}
            <option value="{$drug['id']}">{$drug['drugname']} </option>
            {/foreach}
        </select>
    </td>
    <td>
        <select class="form-control xx preType " id="preType{$itr}"  name="preType{$itr}"     data-itr="{$itr}" data-placeholder="Select..."  >
            <option value="">Choose Form</option>
            {foreach $allDrugTypes as $type}
            <option value="{$type['drugtype']}">{$type['drugtype']}</option>
            {/foreach}
        </select>
    </td>
    <td>
        <select class="form-control xx preDos " id="preDos{$itr}"  name="preDos{$itr}"     data-itr="{$itr}" data-placeholder="Select..."  >
            <option value="">choose dose </option>
            {foreach $allDrugDoses as $dos}
            <option value="{$dos['drugdos']}">{$dos['drugdos']}</option>
            {/foreach}
        </select>
    </td>

    <td>
        <a class="btn grey-cascade btn-xs deletePreRow"  style=" float: left;" href="#" data-itr="{$itr}" >
            <i class="fa fa-close"></i>
        </a>
    </td>
</tr>

