<tr class="edit-item-row">
    <td class="col-md-1">
        {# TODO: Make this pretty for row actions (add tax, add item before, add item after...) #}
        <a class="text-red" title="Esta seguro de eliminar el producto seleccionado?"
           href="#" onclick="eliminarProductConfirm(this, '');"><span
                    class="glyphicon glyphicon-trash"></span></a>

    </td>
    {# CAMPO CODIGO DEL PRODUCTO
    {% if bundle_exists('SiwappProductBundle') %}
        <td class="col-md-xs">
            {{ form_widget(form.product, {'attr': {'class': 'product-autocomplete-name'}}) }}
            {{ form_errors(form.product) }}

            {% if bundle_exists('SiwappProductBundle') %}
                <script>
                    $(function () {
                        addProductNameAutocomplete('{{ path('product_autocomplete_reference') }}');
                    });
                </script>
            {% endif %}
        </td>
    {% endif %}
    #}
    <td class="col-md-6">
        <div class="row">
            <div class="col-md-12">
                <div class="input-group">
                    {{ form_widget(form.description, {'attr': {'class': 'sv_input_codigo text-uppercase product-autocomplete-description'}}) }}
                    <span class="input-group-btn">
                <button type="button" class="btn btn-warning btn-flat"
                        onclick="buscarProductModal(this);">&nbsp;<i
                            class="glyphicon glyphicon-search"></i>&nbsp;</button>

            </span>
                </div>
                {{ form_errors(form.description) }}

            </div>
        </div>
    </td>
    <td class="col-md-1 cell-align-center">
        {{ form_widget(form.quantity) }}
        {{ form_errors(form.quantity) }}
    </td>


</tr>
