<div class="card card-info ui-sortable-handle">
    <div class="card-header" align="center">
        <span class="titre1">Vehicule N°</span><span class="btn-dark numero" style="padding:10px">{!! $numero !!}</span>
        <div class="card-tools">
          <ul class="nav nav-pills ml-auto">
            <li class="nav-item">
              <a class="btn bg-primary" href="{{ url('home') }}" >Retour</a>
            </li>
          </ul>
        </div>

    </div>

    @if(!$vehicule)
        <div class='card-body card-info'>
            <div class=' alert' style="text-align:center">Aucun Vehicule trouvé avec ce numéro 
            </div>
        </div>
    @else
        <div class='card-body card-info'>
            <div class="">
                <div class="form-group row">
                    <div class="col-md-2">
                        {!! html()->label( 'Emission','date_emission') !!}
                        {!! html()->text('date_emission', $vehicule->date_emission)
                                ->attributes(['disabled','class' => 'form-control','style'=>'text-align:center']) !!}
                    </div>

                    <div class="col-md-2">
                        {!! html()->label( '1ère Immat.','date_prem') !!}
                        {!! html()->text('date_prem', $vehicule->date_prem)
                                ->attributes(['disabled','class' => 'form-control','style'=>'text-align:center']) !!}
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-md-2">
                        {!! html()->label( 'Immat. précédente','immat_prec_date') !!}
                        {!! html()->text('immat_prec_date', $vehicule->immat_prec_date)
                                ->attributes(['disabled','class' => 'form-control','style'=>'text-align:center']) !!}
                    </div>
                    <div class="col-md-2">
                        {!! html()->label('N° du certificat précédent ','immat_prec_numero') !!}
                        {!! html()->text('immat_prec_numero', $vehicule->immat_prec_numero)
                            ->attributes(['disabled','class' => 'form-control','style'=>'text-align:center']) !!}
                    </div>
                </div>


                <h6>Propriétaire 1 </h6>
                <div class="form-group row">
                    <div class="callout callout-success">
                        <div class="form-group row">
                            <div class="col-md-5">
                                {!! html()->label( 'NOM Prénoms ou Raison sociale','prop1_nom') !!}
                                {!! html()->text('prop1_nom', $vehicule->prop1_nom)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                            <div class="col-md-2">
                                {!! html()->label( 'RIDET','prop1_ridet') !!}
                                {!! html()->text('prop1_ridet', $vehicule->prop1_ridet)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                            <div class="col-md-2">
                                {!! html()->label( 'Catég.Prof.','prop1_categ') !!}
                                {!! html()->text('prop1_categ', $vehicule->prop1_categ)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                        </div>
                    </div>
                </div>

                <h6>Propriétaire 2 </h6>
                <div class="form-group row">
                    <div class="callout callout-info">
                        <div class="form-group row">
                            <div class="col-md-5">
                                {!! html()->label( 'NOM Prénoms ou Raison sociale','prop2_nom') !!}
                                {!! html()->text('prop2_nom', $vehicule->prop2_nom)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                            <div class="col-md-2">
                                {!! html()->label( 'RIDET','prop2_ridet') !!}
                                {!! html()->text('prop2_ridet', $vehicule->prop2_ridet)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                            <div class="col-md-2">
                                {!! html()->label( 'Catég.Prof.','prop2_categ') !!}
                                {!! html()->text('prop2_categ', $vehicule->prop2_categ)->attributes(['disabled', 'class' => 'form-control']) !!}
                            </div>
                        </div>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-md-3">
                        {!! html()->label( 'Domicile','domicile') !!}
                        {!! html()->text('domicile', $vehicule->domicile)->placeholder('Domicile')->attributes(['disabled', 'class' => 'form-control']) !!}
                    </div>
                    <div class="col-md-2">
                        {!! html()->label( 'Commune','commune_id') !!}
                        {!! html()->text('commune_id', $vehicule->Village)->attributes(['disabled', 'class' => 'form-control']) !!}
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-md-3">
                        {!! html()->label( 'Boite Postale','bp') !!}
                        {!! html()->text('bp', $vehicule->bp)->attributes(['disabled', 'class' => 'form-control']) !!}
                    </div>
                    <div class="col-md-2">
                        {!! html()->label( 'Commune de la BP','commune_bp_id') !!}
                        {!! html()->text('commune_bp_id', $vehicule->VillageBP)->attributes(['disabled', 'class' => 'form-control']) !!}
                    </div>
                </div>


            </div>

        </div>
    @endif
</div>