<form method="post" autocomplete="off">
    <div class="modal-header">
        <button id="close" type="button" class="close">×</button>
        <h3 id="myModalLabel">Edit Purchase Return</h3>
    </div>
    <div class="modal-body">
        <div class=" control-group">
            <label for="editBatch">Product</label>
            <input type="text" ng-autocomplete id="editBatch" resource="Batch" label="Name" model="edit.Batch" value="{{edit.Batch.Product.Name}}"/>
            <label for="editQuantity">Quantity</label>
            <input type="text" id="editQuantity" autocomplete="off" class="non-search-box inline"
                   placeholder="Quantity" ng-model="edit.Quantity"/>
        </div>
        <hr>
    </div>
    <div class="modal-footer">
        <button id="cancel" class="btn">Cancel</button>
        <button id="action" class="btn btn-primary">Update</button>
    </div>
</form>
