<div class="description">
    @isset($sub)
        <p>{{ $sub }}</p>
    @endisset
</div>
<form method="post" action="{{ route('account.destroy') }}" class="settings">
    @csrf
    @method('delete')

    <div class="input-row input-row--1-1">
        <div class="input-cell">
            <x-input.text-label label="{{ __('Password') }}" id="password" name="password" type="password" placeholder="{{ __('Password') }}" />
            <x-input.error :messages="$errors->userDeletion->get('password')" />
        </div>
    </div>

    <div class="input-row input-row--actions input-row--start">
        <x-button type="submit" variant="primary danger">{{ __('account.delete-confirm') }}</x-button>
        <x-button type="anchor" variant="tertiary" href="{{ route('account.info') }}">{{ __('common.cancel_funny') }}</x-button>
    </div>
</form>
