<div class="modal fade" id="createmodel2{{ tregnal.idregnal }}" tabindex="-1" role="dialog" aria-labelledby="createModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
        {#Cuando se usa modal hay que realizar la action#}
            {{ form_start(form2, {'action': path('new_entrega', { 'idregnal': tregnal.idregnal, 'idnacional': idnacional })}) }}
            <div class="modal-header">
                <h5 class="modal-title" id="createModalLabel"><i class="ti-marker-alt m-r-10"></i>Recepción de Vehículo</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">

                <div class="row">
                    <div style="pointer-events:none" class="form-group col-sm-6" disabled>
                        {{ form_label(form2.chasis) }}
                        {{ form_widget(form2.chasis) }}
                        <span class="text-danger">{{ form_errors(form2.chasis) }}</span>
                    </div>
                </div>

                <div class="row">
                    <div style="pointer-events:none" class="form-group col-sm-6">
                        {{ form_label(form2.marca) }}
                        {{ form_widget(form2.marca) }}
                        <span class="text-danger">{{ form_errors(form2.marca) }}</span>
                    </div>

                    <div style="pointer-events:none" class="form-group col-sm-6">
                        {{ form_label(form2.modelo) }}
                        {{ form_widget(form2.modelo) }}
                        <span class="text-danger">{{ form_errors(form2.modelo) }}</span>
                    </div>
                </div>

                <div class="row">
                    <div style="pointer-events:none" class="form-group col-sm-6">
                        {{ form_label(form2.idusuario) }}
                        {{ form_widget(form2.idusuario) }}
                        <span class="text-danger">{{ form_errors(form2.idusuario) }}</span>
                    </div>

                    <div style="background: #fff59f"  class="form-group col-sm-6">
                        {{ form_label(form2.fechaentrega) }}
                        {{ form_widget(form2.fechaentrega) }}
                        <span class="text-danger">{{ form_errors(form2.fechaentrega) }}</span>
                    </div>

                    <div style="background: #fff59f"  class="form-group col-sm-12">
                        {{ form_label(form2.observaciones) }}
                        {{ form_widget(form2.observaciones) }}
                        <span class="text-danger">{{ form_errors(form2.observaciones) }}</span>
                    </div>
                </div>

                <div style="background: #fff59f" class="row">
                    <div class="col-md-12">
                        {{ form_label(form2.idusuario2) }}
                        {{ form_widget(form2.idusuario2) }}
                        <span class="text-danger">{{ form_errors(form2.idusuario2) }}</span>
                    </div>
                </div>

                <div class="modal-footer">
                </div>


                <button type="button" class="btn btn-rounded  waves-effect" data-dismiss="modal">Cerrar</button>
                <button type="button submit" class="btn btn-rounded  btn-success waves-effect waves-light"><i class="ti-save"></i> Grabar</button>

            </div>
            {{ form_end(form2) }}
        </div>
    </div>
</div>


{#<div class="modal fade" id="equipoEditModal">#}
{#    <div class="modal-dialog">#}
{#        <div class="modal-content">#}
{#            <div class="modal-header">#}
{#                <h4 class="modal-title">EDITAR</h4>#}
{#            </div>#}
{#            <div class="modal-body">#}
{#                {{ form_start(equipoForm, {'action': path('tregnal_edit', { 'idregnal': entity.idregnal, 'idnacional': idnacional })}) }}#}
{#                {{ form_widget(equipoForm) }}#}
{#                <button type="submit" class="btn btn-primary">Guardar</button>#}
{#                {{ form_end(equipoForm) }}#}
{#            </div>#}
{#        </div>#}
{#    </div>#}
{#</div>#}