Skip to content

Commit 271db9b

Browse files
committed
Remove excess tags
1 parent b1e585a commit 271db9b

File tree

1 file changed

+58
-62
lines changed

1 file changed

+58
-62
lines changed

resources/views/frontend/user/account.blade.php

Lines changed: 58 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -11,75 +11,71 @@
1111
</x-slot>
1212

1313
<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" />
2725

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"/>
3735

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
4947

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>
6159

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-->
6664

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-->
7068

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
7674

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-->
8379
</x-slot>
8480
</x-frontend.card>
8581
</div><!--col-md-10-->

0 commit comments

Comments
 (0)