xxxxxxxxxx
1
<div class="card card-cascade narrower">
2
<div class="view view-cascade gradient-card-header bg-mesRecettes py-2">
3
<h4 class="card-header-title">{{ pageTitle }}</h4>
4
</div>
5
<form class="card-body" method="post" enctype="multipart/form-data">
6
<ul class="nav nav-tabs" id="myTab">
7
<li class="nav-item active">
8
<a class="nav-link active" data-toggle="tab" href="#home">Home</a>
9
</li>
10
<li class="nav-item">
11
<a class="nav-link" data-toggle="tab" href="#profile">Profile</a>
12
</li>
13
<li class="nav-item">
14
<a class="nav-link" data-toggle="tab" href="#contact">Contact</a>
15
</li>
16
</ul>
17
<div class="tab-content">
18
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">Raw denim you
19
probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master
20
cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro
21
keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip
22
placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi
23
qui.
24
</div>
25
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">Food truck fixie
26
locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit,
27
blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee.
28
Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum
29
PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS
30
salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit,
31
sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester
32
stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
33
</div>
34
<div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">Etsy mixtape
35
wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack
36
lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard
37
locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify
38
squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie
39
etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog
40
stumptown. Pitchfork sustainable tofu synth chambray yr.
41
</div>
42
</div>
43
</form>
44
<button id="suivant" class="btn btn-rounded btn-primary suivant">Suivant !</button>
45
<button id="precedent" class="btn btn-rounded btn-primary precedent">precedent !</button>
46
</div>
1
1
xxxxxxxxxx
1
$('.suivant').on('click', function (e) {
2
e.preventDefault();
3
$("#myTab li.active").next().children("a").tab("show");
4
$("#myTab li.active").removeClass('active');
5
$("#myTab a.active").parent().addClass('active');
6
});
7
$('.precedent').on('click', function (e) {
8
e.preventDefault();
9
$("#myTab li.active").prev().children("a").tab("show");
10
$("#myTab li.active").removeClass('active');
11
$("#myTab a.active").parent().addClass('active');
12
});
Console errors: 0