{% extends 'base.html.twig' %}

{% block title%}
    WONDER-T-Nal Vehículos
{% endblock %}
{% block titulo %}
    GESTIÓN DE ASIGNACIONES VEHÍCULO - TRANSPORTISTA
{% endblock %}
{% block bread %}
    T-Nal Reg. Asignaciones
{% endblock %}

{% block body %}
    <style>
        body {background-image: url({{ asset('recursos/imagenes/sistema/fondo_lateral.png')}});
            background-repeat: no-repeat;
            /*background-size: 200px;*/
            background-size: cover;
        }

        .col-sm-2 {
            max-width: 100%;
        }
    </style>

    {#{{ form_start(form) }}#}
    {{ form_start(form, { 'attr': {'novalidate':'novalidate', 'class': 'form-material form-horizontal'} }) }}
    <div class="row">
        <div class="col-sm-12">
            <div class="white-box">
                <br>
                <h3 class="box-title">DATOS DEL VEHÍCULO Y TRANSPORTISTA A ASIGNAR - TRANSPORTE NACIONAL</h3>
                <br><br>
                <div class="row">
{#                    <div class="form-group col-sm-5">#}
{#                        {{ form_label(form.fechasalida) }}#}
{#                        {{ form_widget(form.fechasalida) }}#}
{#                        <span class="text-danger">{{ form_errors(form.fechasalida) }}</span>#}
{#                    </div>#}
{#                    <div class="form-group col-sm-2"></div>#}
                    <div class="form-group col-sm-5">
                        {{ form_label(form.chasis) }}
                        {{ form_widget(form.chasis) }}
                        <span class="text-danger">{{ form_errors(form.chasis) }}</span>
                    </div>
                </div>

                <div class="row">
                    <div class="form-group col-sm-5">
                        {{ form_label(form.marca) }}
                        {{ form_widget(form.marca) }}
                        <span class="text-danger">{{ form_errors(form.marca) }}</span>
                    </div>
                    <div class="form-group col-sm-2"></div>
                    <div class="form-group col-sm-5">
                        {{ form_label(form.modelo) }}
                        {{ form_widget(form.modelo) }}
                        <span class="text-danger">{{ form_errors(form.modelo) }}</span>
                    </div>
                </div>

                <div class="row">
{#                    <div class="form-group col-sm-5">#}
{#                        {{ form_label(form.idusuario) }}#}
{#                        {{ form_widget(form.idusuario) }}#}
{#                        <span class="text-danger">{{ form_errors(form.idusuario) }}</span>#}
{#                    </div>#}
{#                    <div class="form-group col-sm-2"></div>#}
                    <div class="form-group col-sm-12">
                        {{ form_label(form.observaciones) }}
                        {{ form_widget(form.observaciones) }}
                        <span class="text-danger">{{ form_errors(form.observaciones) }}</span>
                    </div>
                </div>

{#                <div class="row">#}
{#                    <div class="col-md-5">#}
{#                        <div class="form-group col-sm-5">#}
{#                            {{ form_label(form.movimiento) }}#}
{#                            {{ form_widget(form.movimiento) }}#}
{#                            <span class="text-danger">{{ form_errors(form.movimiento) }}</span>#}
{#                        </div>#}
{#                    </div>#}
{#                    <div class="form-group col-sm-2"></div>#}
{#                    <div class="form-group col-sm-5">#}
{#                        {{ form_label(form.fechaentrega) }}#}
{#                        {{ form_widget(form.fechaentrega) }}#}
{#                        <span class="text-danger">{{ form_errors(form.fechaentrega) }}</span>#}
{#                    </div>#}
{#                </div>#}

{#                <div class="row">#}
{#                    <div class="col-md-5">#}
{#                        <div class="form-group col-sm-5">#}
{#                            {{ form_label(form.idusuario2) }}#}
{#                            {{ form_widget(form.idusuario2) }}#}
{#                            <span class="text-danger">{{ form_errors(form.idusuario2) }}</span>#}
{#                        </div>#}
{#                    </div>#}
{#                </div>#}

                <br>
                <button type="submit" class="btn btn-info waves-effect waves-light m-r-10">Guardar</button>
                <a class="btn btn-inverse waves-effect waves-light" href="{{ path('tregnal_index', {'idnacional': idnacional}) }}">Cancelar</a>
            </div>

        </div><!-- /. columna1 -->

    </div>

    {{ form_end(form) }}

{% endblock %}


