@php
    $breadcrumbs = [
        ['label' => __('rbac.users.accept_title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('rbac.users.accept_title')"
    :subtitle="__('rbac.users.accept_subtitle')"
    page-icon="fe fe-key"
    :breadcrumbs="$breadcrumbs"
>
    <div class="card border-0 shadow-sm" style="max-width: 480px;">
        <div class="card-body p-4">
            <form method="POST" action="{{ route('settings.users.invite.accept.store', $token) }}">
                @csrf
                <div class="mb-3">
                    <x-ui.form.input name="password" type="password" :label="__('auth.password')" required />
                </div>
                <div class="mb-4">
                    <x-ui.form.input name="password_confirmation" type="password" :label="__('rbac.users.password_confirm')" required />
                </div>
                <x-ui.buttons.primary type="submit" icon="fe fe-check">{{ __('common.save') }}</x-ui.buttons.primary>
            </form>
        </div>
    </div>
</x-ui.layout.page>
