35 lines
1.5 KiB
PHP
Executable File
35 lines
1.5 KiB
PHP
Executable File
<section class="w-full">
|
|
@include('partials.settings-heading')
|
|
|
|
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
|
|
<form wire:submit="updateProfileInformation" class="hd-settings-form">
|
|
<label class="hd-settings-field">
|
|
<span>{{ __('Name') }}</span>
|
|
<input wire:model="name" type="text" required autofocus autocomplete="name">
|
|
@error('name') <small class="hd-settings-error">{{ $message }}</small> @enderror
|
|
</label>
|
|
|
|
<label class="hd-settings-field">
|
|
<span>{{ __('Email') }}</span>
|
|
<input wire:model="email" type="email" required autocomplete="email">
|
|
@error('email') <small class="hd-settings-error">{{ $message }}</small> @enderror
|
|
</label>
|
|
|
|
@if ($this->hasUnverifiedEmail)
|
|
<p class="hd-settings-note">
|
|
{{ __('Your email address is unverified.') }}
|
|
<button type="button" class="hd-settings-link" wire:click.prevent="resendVerificationNotification">{{ __('Click here to re-send the verification email.') }}</button>
|
|
</p>
|
|
@endif
|
|
|
|
<div class="hd-settings-actions">
|
|
<button class="hd-settings-button hd-settings-button-primary" type="submit">{{ __('Save') }}</button>
|
|
</div>
|
|
</form>
|
|
|
|
@if ($this->showDeleteUser)
|
|
<livewire:settings.delete-user-form />
|
|
@endif
|
|
</x-settings.layout>
|
|
</section>
|