


</div>
</form>
</div>

</div>
<div class="clearfix"></div>

</div>
</div>
<div class="clearfix"></div>
</div>



</div>
</div>

<div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_model">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> Edit </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form action="" method="post" class="form-horizontal emptyform">
                        <div class="form-body">
                            <!------===========================================------->
                            <div>
                                <div id="alldatadiv" class=""> </div>
                            </div>
                            <div class="modal-footer">
                                <!--                                <button type="button" class="btn green" id="editmodel_submit"> Update </button>-->
                                <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </div>
</div>

</div>
</div>
</div>

<div class="clearfix"></div>
<div id="vvv"></div>



<script>


    $(".amrpop,input[type='text']:not(.datepicker),textarea").hover(function () {
        var pop_value = $(this).val();
        $(this).attr({
            "data-toggle": "popover",
            "data-trigger": "hover",
            "data-placement": "bottom",
            "data-content": pop_value
        });
        $(this).popover("show");
    });

</script>

<!-- Modal -->
<div class="modal fade" id="addTankLocation" tabindex="-1" role="dialog" aria-labelledby="addTankLocationLabel"  aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <form action="" class="form-horizontal" id="tank_lab_locations" method="post">
                <div class="modal-header">
                    <h5 class="modal-title" id="addTankLocationLabel">Choose location in tank</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body" style="padding: 2em 1em 1em;">

                    <label class="col-md-5 control-label" for="form_control_1">
                        Tanks
                    </label>
                    <select class="form-control select2me" id="lab_tank_id" name="lab_tank_id" data-placeholder="Select...">
                        <option value="">choose</option>
                        {foreach  $tanks as $tank}
                        <option value="{$tank->id}" >{$tank->name}</option>
                        {/foreach}
                    </select>

                    <input type="hidden" name="lab_patient_id" value="{$patientId}">
                    <input type="hidden" id="up_level_name" name="up_level_name" value="0">
                    <input type="hidden" id="cell_name" name="cell_name" value="0">

                    <hr/>

                    <div id="tankCellsContainer">
                        Choose tank to load cells
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary" id="save_tank_lab_cell_patient">Save changes</button>
                </div>
            </form>
        </div>
    </div>
</div>