Skip to content

Commit 3af4d12

Browse files
authored
Removes unused flux:input attributes (#44)
1 parent e6f279d commit 3af4d12

File tree

8 files changed

+3
-28
lines changed

8 files changed

+3
-28
lines changed

resources/views/livewire/auth/confirm-password.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ public function confirmPassword(): void
4545
<!-- Password -->
4646
<flux:input
4747
wire:model="password"
48-
id="password"
4948
:label="__('Password')"
5049
type="password"
51-
name="password"
5250
required
5351
autocomplete="new-password"
5452
placeholder="Password"

resources/views/livewire/auth/forgot-password.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function sendPasswordResetLink(): void
3434
wire:model="email"
3535
:label="__('Email Address')"
3636
type="email"
37-
name="email"
3837
required
3938
autofocus
4039
placeholder="[email protected]"

resources/views/livewire/auth/login.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ protected function throttleKey(): string
8585
wire:model="email"
8686
:label="__('Email address')"
8787
type="email"
88-
name="email"
8988
required
9089
autofocus
9190
autocomplete="email"
@@ -98,7 +97,6 @@ protected function throttleKey(): string
9897
wire:model="password"
9998
:label="__('Password')"
10099
type="password"
101-
name="password"
102100
required
103101
autocomplete="current-password"
104102
placeholder="Password"

resources/views/livewire/auth/register.blade.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ public function register(): void
4545
<!-- Name -->
4646
<flux:input
4747
wire:model="name"
48-
id="name"
4948
:label="__('Name')"
5049
type="text"
51-
name="name"
5250
required
5351
autofocus
5452
autocomplete="name"
@@ -58,10 +56,8 @@ public function register(): void
5856
<!-- Email Address -->
5957
<flux:input
6058
wire:model="email"
61-
id="email"
6259
:label="__('Email address')"
6360
type="email"
64-
name="email"
6561
required
6662
autocomplete="email"
6763
placeholder="[email protected]"
@@ -70,10 +66,8 @@ public function register(): void
7066
<!-- Password -->
7167
<flux:input
7268
wire:model="password"
73-
id="password"
7469
:label="__('Password')"
7570
type="password"
76-
name="password"
7771
required
7872
autocomplete="new-password"
7973
placeholder="Password"
@@ -82,10 +76,8 @@ public function register(): void
8276
<!-- Confirm Password -->
8377
<flux:input
8478
wire:model="password_confirmation"
85-
id="password_confirmation"
8679
:label="__('Confirm password')"
8780
type="password"
88-
name="password_confirmation"
8981
required
9082
autocomplete="new-password"
9183
placeholder="Confirm password"

resources/views/livewire/auth/reset-password.blade.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,21 +78,17 @@ function ($user) {
7878
<!-- Email Address -->
7979
<flux:input
8080
wire:model="email"
81-
id="email"
8281
:label="__('Email')"
8382
type="email"
84-
name="email"
8583
required
8684
autocomplete="email"
8785
/>
8886

8987
<!-- Password -->
9088
<flux:input
9189
wire:model="password"
92-
id="password"
9390
:label="__('Password')"
9491
type="password"
95-
name="password"
9692
required
9793
autocomplete="new-password"
9894
placeholder="Password"
@@ -101,10 +97,8 @@ function ($user) {
10197
<!-- Confirm Password -->
10298
<flux:input
10399
wire:model="password_confirmation"
104-
id="password_confirmation"
105100
:label="__('Confirm password')"
106101
type="password"
107-
name="password_confirmation"
108102
required
109103
autocomplete="new-password"
110104
placeholder="Confirm password"

resources/views/livewire/settings/delete-user-form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function deleteUser(Logout $logout): void
4444
</flux:subheading>
4545
</div>
4646

47-
<flux:input wire:model="password" id="password" :label="__('Password')" type="password" name="password" />
47+
<flux:input wire:model="password" :label="__('Password')" type="password" />
4848

4949
<div class="flex justify-end space-x-2">
5050
<flux:modal.close>

resources/views/livewire/settings/password.blade.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,22 @@ public function updatePassword(): void
4444
<form wire:submit="updatePassword" class="mt-6 space-y-6">
4545
<flux:input
4646
wire:model="current_password"
47-
id="update_password_current_passwordpassword"
4847
:label="__('Current password')"
4948
type="password"
50-
name="current_password"
5149
required
5250
autocomplete="current-password"
5351
/>
5452
<flux:input
5553
wire:model="password"
56-
id="update_password_password"
5754
:label="__('New password')"
5855
type="password"
59-
name="password"
6056
required
6157
autocomplete="new-password"
6258
/>
6359
<flux:input
6460
wire:model="password_confirmation"
65-
id="update_password_password_confirmation"
6661
:label="__('Confirm Password')"
6762
type="password"
68-
name="password_confirmation"
6963
required
7064
autocomplete="new-password"
7165
/>

resources/views/livewire/settings/profile.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ public function resendVerificationNotification(): void
7474

7575
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
7676
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
77-
<flux:input wire:model="name" :label="__('Name')" type="text" name="name" required autofocus autocomplete="name" />
77+
<flux:input wire:model="name" :label="__('Name')" type="text" required autofocus autocomplete="name" />
7878

7979
<div>
80-
<flux:input wire:model="email" :label="__('Email')" type="email" name="email" required autocomplete="email" />
80+
<flux:input wire:model="email" :label="__('Email')" type="email" required autocomplete="email" />
8181

8282
@if (auth()->user() instanceof \Illuminate\Contracts\Auth\MustVerifyEmail &&! auth()->user()->hasVerifiedEmail())
8383
<div>

0 commit comments

Comments
 (0)