{{-- R24. --}} {{-- The poll on an element of its own, not on the component tag: a Blade directive inside a component's attribute list compiles into the attribute bag and breaks the view outright — the same trap as @disabled on a component. Livewire polls the whole component whichever element carries it, so this does the same job from inside the body. Only while there is something to wait for: a poll that keeps running after the credentials are on screen is a request every two seconds for nothing. --}} @if ($waiting && ! $credentials && ! $failed) @endif @if ($credentials)

{{ __('instances.admin_ready') }}

{{ __('instances.admin_url') }}
{{ $credentials['url'] }}
{{ __('instances.admin_user') }}
{{ $credentials['username'] }}
{{ __('instances.admin_password') }}
{{ $credentials['password'] }}

{{ __('instances.admin_once') }}

@elseif ($failed)

{{ __('instances.admin_failed') }}

@elseif ($waiting)
{{ __('instances.admin_working') }}
@else

{{ __('instances.admin_body') }}

@endif
{{ $credentials || $failed ? __('common.close') : __('instances.cancel') }} @if (! $credentials && ! $failed && ! $waiting) {{-- form=, because the footer sits outside the
it submits. --}} {{ __('instances.admin_confirm') }} @endif