@php $domain = old('domain', request('domain', $data['domain'] ?? '')); $operation = old('operation', request('operation', $data['operation'] ?? 'register')); $nameserverMode = old('nameserver_mode', $data['nameserver_mode'] ?? 'managed'); $currentNameservers = old('nameservers', $data['nameservers'] ?? []); @endphp
@if($operation === 'transfer')
{{ __('provisioning.domain_manager.search.transfer_help') }}
@include('shared/input', ['name' => 'auth_code', 'label' => __('provisioning.domain_manager.search.auth_code'), 'value' => old('auth_code', $data['auth_code'] ?? '')])
@endif
@include('shared/input', ['name' => 'domain', 'label' => __('provisioning.domain_manager.domain'), 'value' => $domain])

{{ __('provisioning.domain_manager.dns_choice.title') }}

{{ __('provisioning.domain_manager.dns_choice.help') }}

@for($i = 0; $i < 4; $i++)
@include('shared/input', ['name' => "nameservers[$i]", 'label' => __('provisioning.domain_manager.nameserver', ['number' => $i + 1]), 'value' => $currentNameservers[$i] ?? '', 'attributes' => ['placeholder' => 'ns'.($i + 1).'.example.com']])
@endfor

{{ __('provisioning.domain_manager.dns_choice.custom_notice') }}