country = request()->route('country', config('app.domain_country')); } public function save(): void { $service = $this->form->store(); session()->flash('status', __('Service erfolgreich erstellt!')); redirect()->route('services.index', ['country' => $this->country]); } public function with(): array { return [ 'types' => collect(SelfHostedServiceType::cases())->map(fn($c) => [ 'value' => $c->value, 'label' => $c->label() ]), ]; } }; ?>
{{ __('Service anlegen') }}
{{ __('Grundlegende Informationen') }}
{{ __('Name') }} * {{ __('Der Name des Services') }} {{ __('Typ') }} * @foreach($types as $t) {{ $t['label'] }} @endforeach {{ __('Art des Services') }} {{ __('Anonym einstellen') }} {{ __('Service ohne Autorenangabe einstellen') }}
{{ __('Beschreibung') }} {{ __('Kurze Beschreibung des Services') }}
{{ __('URLs & Erreichbarkeit') }}
{{ __('URL (Clearnet)') }} {{ __('Normale Web-URL') }} {{ __('URL (Onion/Tor)') }} {{ __('Tor Hidden Service URL') }} {{ __('URL (I2P)') }} {{ __('I2P Adresse') }} {{ __('URL (pkdns)') }} {{ __('Pkarr DNS Adresse') }}
{{ __('Kontaktinformation') }} {{ __('Beliebige Kontaktinformationen (Signal, SimpleX, Email, etc.)') }}
{{ __('Abbrechen') }} {{ __('Service erstellen') }}