<input type="hidden" id="esrInvest" value="1" />
<div class="form-group " style=" width: 100%; float: left;   border-bottom:1px solid black;  margin: 5px;padding-bottom: 5px;" id="invDiv{$invest->id}">


    <label class="col-md-11 control-label bold txtl" style="text-decoration:underline;margin-left: 4px;" >{$invest->name}
        <span style="float: left;">
            <input type="checkbox"  class="checkGroup" value="{$invest->id}" name="invCheck[]">
        </span>
    </label>

    <div class="form-group col-md-12 " style=" float: left; margin-top: 5px; ">

        <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;">ESR 1st Hour : </label>

        <div class="col-md-2">
            <select class="form-control   esr_hour1 esr "     data-target="hour1"   
                    id="esr_hour1"   >
                <option value=""></option>
                {foreach $esr_hour1 as $data}
                <option value="{$data->id}" >{$data->name}</option>
                {/foreach}
                <option value="-2" class="deleteoptincompo">حذف</option>
            </select>
        </div>

        <div class="col-md-2">
            <input type="text" disabled="" id="hour1_unit"  class="form-control" value="">
        </div>

        <div class="col-md-2">
            <input type="text" disabled="" id="hour1_level"  class="form-control" value="">
        </div>

        <div class="col-md-4">
            <select class="form-control select2h  esr" data-target="hour1" 
                    id="hour1_rangeid" >
                <option value=""></option>
                {foreach  $invest->hour1_ranges as $rang}
                <option value="{$rang->id}"  >{$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                {/foreach}
            </select>
        </div>
    </div>



    <div class="form-group col-md-12 " style=" float: left;  margin-top :  5px;">

        <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;">ESR 2nd Hour : </label>

        <div class="col-md-2">
            <select class="form-control   esr_hour2 esr" 
                    data-target="hour2"    id="esr_hour2"   >
                <option value=""></option>
                {foreach $esr_hour2 as $data}
                <option value="{$data->id}" >{$data->name}</option>
                {/foreach}
                <option value="-2" class="deleteoptincompo">حذف</option>
            </select>
        </div>

        <div class="col-md-2">
            <input type="text" disabled="" id="hour2_unit"  class="form-control" value="">
        </div>

        <div class="col-md-2">
            <input type="text" disabled="" id="hour2_level"  class="form-control" value="">
        </div>

        <div class="col-md-4">
            <select class="form-control select2h  esr"   data-target="hour2" 
                    id="hour2_rangeid" >
                <option value=""></option>
                {foreach  $invest->hour2_ranges as $rang}
                <option value="{$rang->id}"  >{$rang->range_txt}  {$rang->range_low} - {$rang->range_high}   {$rang->invest_units}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="form-group col-md-12 " style=" float: left;margin-top :  5px; ">
        <label class="col-md-2 control-label bold txtl" style=" font-size: 16px;"> Comment </label>
        <div class="col-md-10">
            <textarea class="form-control  txtc" rows="2" 
                      placeholder="Enter more text" data-toggle="popover" 
                      data-trigger="hover" data-placement="bottom" data-content="">
            </textarea>
        </div>
    </div>


</div>