|
11 | 11 | </x-slot> |
12 | 12 |
|
13 | 13 | <x-slot name="body"> |
14 | | - <div class="row"> |
15 | | - <div class="col"> |
16 | | - <nav> |
17 | | - <div class="nav nav-tabs" id="nav-tab" role="tablist"> |
18 | | - <x-utils.link |
19 | | - :text="__('My Profile')" |
20 | | - class="nav-link active" |
21 | | - id="my-profile-tab" |
22 | | - data-toggle="pill" |
23 | | - href="#my-profile" |
24 | | - role="tab" |
25 | | - aria-controls="my-profile" |
26 | | - aria-selected="true" /> |
| 14 | + <nav> |
| 15 | + <div class="nav nav-tabs" id="nav-tab" role="tablist"> |
| 16 | + <x-utils.link |
| 17 | + :text="__('My Profile')" |
| 18 | + class="nav-link active" |
| 19 | + id="my-profile-tab" |
| 20 | + data-toggle="pill" |
| 21 | + href="#my-profile" |
| 22 | + role="tab" |
| 23 | + aria-controls="my-profile" |
| 24 | + aria-selected="true" /> |
27 | 25 |
|
28 | | - <x-utils.link |
29 | | - :text="__('Edit Information')" |
30 | | - class="nav-link" |
31 | | - id="information-tab" |
32 | | - data-toggle="pill" |
33 | | - href="#information" |
34 | | - role="tab" |
35 | | - aria-controls="information" |
36 | | - aria-selected="false"/> |
| 26 | + <x-utils.link |
| 27 | + :text="__('Edit Information')" |
| 28 | + class="nav-link" |
| 29 | + id="information-tab" |
| 30 | + data-toggle="pill" |
| 31 | + href="#information" |
| 32 | + role="tab" |
| 33 | + aria-controls="information" |
| 34 | + aria-selected="false"/> |
37 | 35 |
|
38 | | - @if (! $logged_in_user->isSocial()) |
39 | | - <x-utils.link |
40 | | - :text="__('Password')" |
41 | | - class="nav-link" |
42 | | - id="password-tab" |
43 | | - data-toggle="pill" |
44 | | - href="#password" |
45 | | - role="tab" |
46 | | - aria-controls="password" |
47 | | - aria-selected="false" /> |
48 | | - @endif |
| 36 | + @if (! $logged_in_user->isSocial()) |
| 37 | + <x-utils.link |
| 38 | + :text="__('Password')" |
| 39 | + class="nav-link" |
| 40 | + id="password-tab" |
| 41 | + data-toggle="pill" |
| 42 | + href="#password" |
| 43 | + role="tab" |
| 44 | + aria-controls="password" |
| 45 | + aria-selected="false" /> |
| 46 | + @endif |
49 | 47 |
|
50 | | - <x-utils.link |
51 | | - :text="__('Two Factor Authentication')" |
52 | | - class="nav-link" |
53 | | - id="two-factor-authentication-tab" |
54 | | - data-toggle="pill" |
55 | | - href="#two-factor-authentication" |
56 | | - role="tab" |
57 | | - aria-controls="two-factor-authentication" |
58 | | - aria-selected="false"/> |
59 | | - </div> |
60 | | - </nav> |
| 48 | + <x-utils.link |
| 49 | + :text="__('Two Factor Authentication')" |
| 50 | + class="nav-link" |
| 51 | + id="two-factor-authentication-tab" |
| 52 | + data-toggle="pill" |
| 53 | + href="#two-factor-authentication" |
| 54 | + role="tab" |
| 55 | + aria-controls="two-factor-authentication" |
| 56 | + aria-selected="false"/> |
| 57 | + </div> |
| 58 | + </nav> |
61 | 59 |
|
62 | | - <div class="tab-content" id="my-profile-tabsContent"> |
63 | | - <div class="tab-pane fade pt-3 show active" id="my-profile" role="tabpanel" aria-labelledby="my-profile-tab"> |
64 | | - @include('frontend.user.account.tabs.profile') |
65 | | - </div><!--tab-profile--> |
| 60 | + <div class="tab-content" id="my-profile-tabsContent"> |
| 61 | + <div class="tab-pane fade pt-3 show active" id="my-profile" role="tabpanel" aria-labelledby="my-profile-tab"> |
| 62 | + @include('frontend.user.account.tabs.profile') |
| 63 | + </div><!--tab-profile--> |
66 | 64 |
|
67 | | - <div class="tab-pane fade pt-3" id="information" role="tabpanel" aria-labelledby="information-tab"> |
68 | | - @include('frontend.user.account.tabs.information') |
69 | | - </div><!--tab-information--> |
| 65 | + <div class="tab-pane fade pt-3" id="information" role="tabpanel" aria-labelledby="information-tab"> |
| 66 | + @include('frontend.user.account.tabs.information') |
| 67 | + </div><!--tab-information--> |
70 | 68 |
|
71 | | - @if (! $logged_in_user->isSocial()) |
72 | | - <div class="tab-pane fade pt-3" id="password" role="tabpanel" aria-labelledby="password-tab"> |
73 | | - @include('frontend.user.account.tabs.password') |
74 | | - </div><!--tab-password--> |
75 | | - @endif |
| 69 | + @if (! $logged_in_user->isSocial()) |
| 70 | + <div class="tab-pane fade pt-3" id="password" role="tabpanel" aria-labelledby="password-tab"> |
| 71 | + @include('frontend.user.account.tabs.password') |
| 72 | + </div><!--tab-password--> |
| 73 | + @endif |
76 | 74 |
|
77 | | - <div class="tab-pane fade pt-3" id="two-factor-authentication" role="tabpanel" aria-labelledby="two-factor-authentication-tab"> |
78 | | - @include('frontend.user.account.tabs.two-factor-authentication') |
79 | | - </div><!--tab-information--> |
80 | | - </div><!--tab-content--> |
81 | | - </div><!--col--> |
82 | | - </div><!--row--> |
| 75 | + <div class="tab-pane fade pt-3" id="two-factor-authentication" role="tabpanel" aria-labelledby="two-factor-authentication-tab"> |
| 76 | + @include('frontend.user.account.tabs.two-factor-authentication') |
| 77 | + </div><!--tab-information--> |
| 78 | + </div><!--tab-content--> |
83 | 79 | </x-slot> |
84 | 80 | </x-frontend.card> |
85 | 81 | </div><!--col-md-10--> |
|
0 commit comments