re-add theme as ptrs broken fixed ipad theme
This commit is contained in:
@@ -1,34 +1,23 @@
|
||||
<section class="mt-10 space-y-6">
|
||||
<div class="relative mb-5">
|
||||
<flux:heading>{{ __('Delete account') }}</flux:heading>
|
||||
<flux:subheading>{{ __('Delete your account and all of its resources') }}</flux:subheading>
|
||||
<section class="hd-delete-account">
|
||||
<div>
|
||||
<h3>{{ __('Delete account') }}</h3>
|
||||
<p>{{ __('Delete your account and all of its resources') }}</p>
|
||||
</div>
|
||||
|
||||
<flux:modal.trigger name="confirm-user-deletion">
|
||||
<flux:button variant="danger" x-data="" x-on:click.prevent="$dispatch('open-modal', 'confirm-user-deletion')">
|
||||
{{ __('Delete account') }}
|
||||
</flux:button>
|
||||
</flux:modal.trigger>
|
||||
|
||||
<flux:modal name="confirm-user-deletion" :show="$errors->isNotEmpty()" focusable class="max-w-lg">
|
||||
<form method="POST" wire:submit="deleteUser" class="space-y-6">
|
||||
<div>
|
||||
<flux:heading size="lg">{{ __('Are you sure you want to delete your account?') }}</flux:heading>
|
||||
|
||||
<flux:subheading>
|
||||
{{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.') }}
|
||||
</flux:subheading>
|
||||
</div>
|
||||
|
||||
<flux:input wire:model="password" :label="__('Password')" type="password" viewable />
|
||||
|
||||
<div class="flex justify-end space-x-2 rtl:space-x-reverse">
|
||||
<flux:modal.close>
|
||||
<flux:button variant="filled">{{ __('Cancel') }}</flux:button>
|
||||
</flux:modal.close>
|
||||
|
||||
<flux:button variant="danger" type="submit">{{ __('Delete account') }}</flux:button>
|
||||
<details class="hd-delete-details" {{ $errors->isNotEmpty() ? 'open' : '' }}>
|
||||
<summary class="hd-settings-button hd-settings-button-danger">{{ __('Delete account') }}</summary>
|
||||
<form method="POST" wire:submit="deleteUser" class="hd-delete-confirm">
|
||||
<h4>{{ __('Are you sure you want to delete your account?') }}</h4>
|
||||
<p>{{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm.') }}</p>
|
||||
<label class="hd-settings-field">
|
||||
<span>{{ __('Password') }}</span>
|
||||
<input wire:model="password" type="password" autocomplete="current-password">
|
||||
@error('password') <small class="hd-settings-error">{{ $message }}</small> @enderror
|
||||
</label>
|
||||
<div class="hd-settings-actions">
|
||||
<button type="button" class="hd-settings-button" onclick="this.closest('details').removeAttribute('open')">{{ __('Cancel') }}</button>
|
||||
<button class="hd-settings-button hd-settings-button-danger" type="submit">{{ __('Delete account') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</flux:modal>
|
||||
</details>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user