User edit: add username to the form.
This commit is contained in:
parent
83f00ddebd
commit
c27a595408
4 changed files with 73 additions and 5 deletions
|
|
@ -9,6 +9,16 @@
|
|||
<div class="mx-auto max-w-sm p-4">
|
||||
|
||||
<x-form action="{{ route('user.update') }}">
|
||||
|
||||
<div class="mb-2">
|
||||
<x-form.label for="username">{{ __('Username') }}</x-form.label>
|
||||
<x-input name="username" :value="$user->username" />
|
||||
</div>
|
||||
|
||||
<x-section-heading>
|
||||
<h2 class="text-2xl">Password</h2>
|
||||
</x-section-heading>
|
||||
|
||||
<div class="mb-2">
|
||||
<x-form.label for="current_password">{{ __('Current Password') }}</x-form.label>
|
||||
<x-input-password name="current_password" />
|
||||
|
|
@ -20,7 +30,7 @@
|
|||
</div>
|
||||
|
||||
<div class="mb-2">
|
||||
<x-form.label for="password_confirmation">{{ __('Confirm Password') }}</x-form.label>
|
||||
<x-form.label for="password_confirmation">{{ __('Confirm New Password') }}</x-form.label>
|
||||
<x-input-password name="password_confirmation" />
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Reference in a new issue