
<div>
    {if $ProgramesettingData->displaydoctorname eq 1}
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 ">{$username}</label>
            </div>
        </div>
    </div>
    {/if}
    <div class="row ltr" >
        <div class="col-md-4">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Disease</label>-->
                <select  class="form-control  family_disease updateElement allupdateselect" data-val="" id="family_disease{$itr}" data-itr="{$itr}" select-tableName="phfamilydisease"  name="family_disease" data-colName="family_disease" data-id="{$phfamily_obj->id}" data-tableName="phfamily" >
                    <option value="">choose</option>
                    {foreach  $allphfamilydisease as $myallphfamilydisease}
                    <option value="{$myallphfamilydisease->id}" >{$myallphfamilydisease->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>


        <div class="col-md-4">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Relative</label>-->
                <select  class="form-control family_relative  updateElement allupdateselect" data-val="" id="family_relative{$itr}" data-itr="{$itr}" select-tableName="phfamilyrelative"  name="family_relative" data-colName="family_relative" data-id="{$phfamily_obj->id}" data-tableName="phfamily" >
                    <option value="">choose</option>
                    {foreach  $allphfamilyrelative as $myallphfamilyrelative}
                    <option value="{$myallphfamilyrelative->id}" >{$myallphfamilyrelative->name} </option>
                    {/foreach}
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>




        <div class="col-md-4">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text" class="amrpop form-control updateElement" placeholder="Note" name="familynote" data-colName="familynote"   data-id="{$phfamily_obj->id}" data-tableName="phfamily"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="{$phfamily_obj->id}" data-tableName="phfamily"><i class="fa fa-close"></i></button>
            </div>
        </div>

    </div>
</div>