
<ul class="nav nav-tabs" id="myTab" role="tablist">
    <li class="nav-item">
        <a class="nav-link {!! ($onglet_actif=='o_immatriculation')?'active show':'' !!}" href="#o_immatriculation" data-toggle="tab">Immatriculation</a></li>
    <li class="nav-item">
        <a class="nav-link {!! ($onglet_actif=='o_autre_proprio')?'active show':'' !!}" href="#o_autre_proprio" data-toggle="tab">Autres propriétaires</a></li>
    <li class="nav-item">
        <a class="nav-link {!! ($onglet_actif=='o_caracteristiques')?'active show':'' !!}" href="#o_caracteristiques" data-toggle="tab">Caractéristiques</a></li>
    <li class="nav-item">
        <a class="nav-link {!! ($onglet_actif=='o_precedents')?'active show':'' !!}" href="#o_precedents" data-toggle="tab">Importation & Précédents</a></li>
</ul>

<div class="tab-content p-3">
    <!-- ------------------------------------- onglet immatriculation ------------------------------- -->
    <div class="tab-pane fade {!! ($onglet_actif=='o_immatriculation')?'active show':'' !!}" id="o_immatriculation" role="tabpanel" aria-labelledby="o_immatriculation-tab">
        @include("vehicules.rows_immatriculation")
    </div>
    <!-- ------------------------------------- onglet autreproprio ------------------------------- -->
    <div class="tab-pane fade {!! ($onglet_actif=='o_autre_proprio')?'active show':'' !!}" id="o_autre_proprio" role="tabpanel" aria-labelledby="o_autre_proprio-tab">
        @include("vehicules.rows_autreproprio")
    </div>
    <!-- ------------------------------------- onglet caracteristiques ------------------------------- -->
    <div class="tab-pane fade {!! ($onglet_actif=='o_caracteristiques')?'active show':'' !!}" id="o_caracteristiques" role="tabpanel" aria-labelledby="o_caracteristiques-tab">
        @include("vehicules.rows_caracteristiques")
    </div>
    <!-- ------------------------------------- onglet precedents ------------------------------- -->
    <div class="tab-pane fade {!! ($onglet_actif=='o_precedents')?'active show':'' !!}" id="o_precedents" role="tabpanel" aria-labelledby="o_precedents-tab">
        @include("vehicules.rows_precedents")
    </div>
</div>



<div class='form-group'>
    <a class="btn btn-warning"  href="{!! url('home') !!}">Retour</a>
</div>


