%PDF- %PDF-
Direktori : /www/loslex/test/storage/framework/views/ |
Current File : /www/loslex/test/storage/framework/views/5dd187a9cf631668912a03b1f676f0fc.php |
<div> <div class="text-lg text-center font-bold"><?php echo e(__('Registration')); ?></div> <form id="regform" method="POST" action="<?php echo e(request()->routeIs('registration.edit') ? route('registration.update', $registration->id) : route('registration.store').'#regform'); ?>" class="space-y-6"> <?php echo csrf_field(); ?> <?php if(request()->routeIs('registration.edit')): ?> <?php echo method_field('patch'); ?> <?php endif; ?> <?php if(request()->has('maintain')): ?> <input type="hidden" name="maintain" /> <?php endif; ?> <input type="hidden" name="user_id" value="<?php echo e(old('user_id', $registration->user->id ?? auth()->user()->id)); ?>" /> <input type="hidden" name="contest_id" value="<?php echo e($contest->id); ?>" /> <input type="hidden" name="contest_level_id" value="<?php echo e($contest->contest_level_id); ?>" /> <div class="flex flex-row flex-wrap gap-x-4 gap-y-4"> <div class="grow"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'username','value' => __('Name')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'username','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Name'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['id' => 'username','type' => 'text','class' => 'mt-1 block w-full','value' => $registration->user->displayname ?? auth()->user()->displayname,'disabled' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'username','type' => 'text','class' => 'mt-1 block w-full','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($registration->user->displayname ?? auth()->user()->displayname),'disabled' => true]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> </div> <div class="grow lg:grow-0"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'licenceid','value' => __('Licence/EFP number')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'licenceid','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Licence/EFP number'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['id' => 'licenceid','type' => 'text','class' => 'mt-1 block w-full','name' => 'licence_number','value' => old('licence_number', $registration->licence_number ?? isset($registration) ? $registration->user->licence_number : auth()->user()->licence_number),'autocomplete' => 'on']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'licenceid','type' => 'text','class' => 'mt-1 block w-full','name' => 'licence_number','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(old('licence_number', $registration->licence_number ?? isset($registration) ? $registration->user->licence_number : auth()->user()->licence_number)),'autocomplete' => 'on']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('licence_number')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('licence_number'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </div> <div class="flex flex-row flex-wrap gap-x-4 gap-y-4" x-data="{ lxmbr: <?php echo e(!empty(old('lexmember')) || (isset($registration) && $registration->lexmember || !empty($registration->user->lex_hash)) || (request()->routeIs('contest.show') && !empty(auth()->user()->lex_hash)) ? 'true' : 'false'); ?>, }"> <div class="flex items-center"> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['type' => 'checkbox','class' => 'inline','id' => 'lexmember','name' => 'lexmember','xModel' => 'lxmbr']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'checkbox','class' => 'inline','id' => 'lexmember','name' => 'lexmember','x-model' => 'lxmbr']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'ml-2','for' => 'lexmember','value' => __('Member of LEX')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'ml-2','for' => 'lexmember','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Member of LEX'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> </div> <div x-show="lxmbr" class="grow items-center"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline','for' => 'lexhash','value' => __('LEX membership control code')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline','for' => 'lexhash','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('LEX membership control code'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <div class="text-sm italic"><?php echo e(__('tooltips.lexmembershiphash')); ?></div> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['class' => 'grow w-full','id' => 'lexhash','type' => 'text','name' => 'lex_hash','value' => old('lex_hash', $registration->user->lex_hash ?? (!isset($registration) ? auth()->user()->lex_hash : ''))]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'grow w-full','id' => 'lexhash','type' => 'text','name' => 'lex_hash','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(old('lex_hash', $registration->user->lex_hash ?? (!isset($registration) ? auth()->user()->lex_hash : '')))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('lex_hash')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('lex_hash'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </div> <?php if($contest->contest_category != null): ?> <div class="grow items-center"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline','for' => 'contest_division_id','value' => __('Division')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline','for' => 'contest_division_id','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Division'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <div class="text-sm italic"><?php echo e(__('tooltips.OptDivisions')); ?></div> <?php if (isset($component)) { $__componentOriginaled2cde6083938c436304f332ba96bb7c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaled2cde6083938c436304f332ba96bb7c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.select','data' => ['class' => '','id' => 'contest_division_id','name' => 'contest_division_id']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('select'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => '','id' => 'contest_division_id','name' => 'contest_division_id']); ?> <option value="" selected disabled><?php echo e(__('Select division')); ?></option> <?php $__currentLoopData = $contest->contest_category->divisions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $division): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if(old('contest_division_id') == $division->id || (empty(old('contest_division_id')) && isset($registration) && $registration->contest_division_id == $division->id)): echo 'selected'; endif; ?> value="<?php echo e($division->id); ?>"><?php echo e(__('contest.' . $division->division)); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaled2cde6083938c436304f332ba96bb7c)): ?> <?php $attributes = $__attributesOriginaled2cde6083938c436304f332ba96bb7c; ?> <?php unset($__attributesOriginaled2cde6083938c436304f332ba96bb7c); ?> <?php endif; ?> <?php if (isset($__componentOriginaled2cde6083938c436304f332ba96bb7c)): ?> <?php $component = $__componentOriginaled2cde6083938c436304f332ba96bb7c; ?> <?php unset($__componentOriginaled2cde6083938c436304f332ba96bb7c); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('contest_division_id')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('contest_division_id'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <?php endif; ?> <fieldset class="text-sm text-gray-700 dark:text-gray-300 font-medium border rounded-md py-2 px-4"> <legend class="px-2"><?php echo e(__('Registration options')); ?></legend> <div> <?php if($forcenotcompete): ?> <input type="hidden" name="notcomp" id="notcomp" value="1" /> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['type' => 'checkbox','class' => 'rounded','id' => 'notcomp','name' => 'notcomp','disabled' => $forcenotcompete,'checked' => !empty(old('notcomp')) || (isset($registration) && $registration->notcomp) || $forcenotcompete,'readonly' => $forcenotcompete]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'checkbox','class' => 'rounded','id' => 'notcomp','name' => 'notcomp','disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($forcenotcompete),'checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(!empty(old('notcomp')) || (isset($registration) && $registration->notcomp) || $forcenotcompete),'readonly' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($forcenotcompete)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline ml-2','for' => 'notcomp','value' => __('Not competing')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline ml-2','for' => 'notcomp','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Not competing'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if($forcenotcompete): ?> <div class="inline text-xs"><?php echo e(__('(You cannot have multiple registrations as a competitor)')); ?></div> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['input' => true,'type' => 'checkbox','class' => 'rounded','id' => 'rookie','name' => 'rookie','checked' => !empty(old('rookie')) || (isset($registration) && $registration->rookie)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['input' => true,'type' => 'checkbox','class' => 'rounded','id' => 'rookie','name' => 'rookie','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(!empty(old('rookie')) || (isset($registration) && $registration->rookie))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline ml-2','for' => 'rookie','value' => __('I\'m beginner')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline ml-2','for' => 'rookie','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('I\'m beginner'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['type' => 'checkbox','class' => 'rounded','id' => 'builder','name' => 'builder','checked' => !empty(old('builder')) || (isset($registration) && $registration->builder)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'checkbox','class' => 'rounded','id' => 'builder','name' => 'builder','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(!empty(old('builder')) || (isset($registration) && $registration->builder))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline ml-2','for' => 'builder','value' => __('I\'ll help to build the contest')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline ml-2','for' => 'builder','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('I\'ll help to build the contest'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> </div> <div> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['type' => 'checkbox','class' => 'rounded','id' => 'referee','name' => 'referee','checked' => !empty(old('referee')) || (isset($registration) && $registration->referee)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['type' => 'checkbox','class' => 'rounded','id' => 'referee','name' => 'referee','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(!empty(old('referee')) || (isset($registration) && $registration->referee))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'inline ml-2','for' => 'referee','value' => __('Referee or helper at stage')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'inline ml-2','for' => 'referee','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Referee or helper at stage'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('referee')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('referee'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </fieldset> <div class="flex flex-row"> <div class="grow"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['for' => 'note','value' => __('Note')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['for' => 'note','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Note'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['class' => 'mt-1 block w-full','type' => 'text','id' => 'note','name' => 'note','value' => old('note', isset($registration) ? $registration->note : '')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-1 block w-full','type' => 'text','id' => 'note','name' => 'note','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(old('note', isset($registration) ? $registration->note : ''))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('note')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('note'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </div> <div x-data="{ <?php $__currentLoopData = $contest->divisionCounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $div => $count): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>highlight<?php echo e($div); ?>: false, <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> }"> <?php if($contest->registrations->isNotEmpty() && $contest->contest_category): ?> <div class="text-sm p-2 flex flex-row flex-wrap gap-1"> <?php $__currentLoopData = $contest->divisionCounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $div => $count): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div @click="highlight<?php echo e($div); ?> = !highlight<?php echo e($div); ?>" class="whitespace-nowrap cursor-pointer inline p-1 border rounded select-none" :class="highlight<?php echo e($div); ?> ? 'division-active' : ''"><?php echo e($div); ?>: <?php echo e($count); ?></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <div class="border rounded p-2"> <div class="flex flex-row flex-wrap gap-2 justify-around"> <?php for($i = 1; $i <= $contest->squads; $i++): ?> <div class="border rounded text-center p-2 grow basis-1/5"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'cursor-pointer font-bold','for' => 'squad-'.e($i).'','value' => 'Squad '.e($i).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'cursor-pointer font-bold','for' => 'squad-'.e($i).'','value' => 'Squad '.e($i).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if($contest->registrations->where('squad', $i)->count() < $contest->squadSize[$i] || (isset($registration) && $registration->squad == $i)): ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['id' => 'squad-'.e($i).'','type' => 'radio','name' => 'squad','checked' => (old('squad') == $i) || (empty(old('squad')) && isset($registration) && $registration->squad == $i),'value' => ''.e($i).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'squad-'.e($i).'','type' => 'radio','name' => 'squad','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute((old('squad') == $i) || (empty(old('squad')) && isset($registration) && $registration->squad == $i)),'value' => ''.e($i).'']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php else: ?> <div class="text-sm italic"><?php echo e(__('Full capacity')); ?></div> <?php endif; ?> <div class="mt-1 text-xs"><?php echo e($contest->registrations->where('squad', $i)->count()); ?> / <?php echo e($contest->squadSize[$i]); ?></div> <div class="w-full mt-2 text-sm gap-2 flex flex-row flex-wrap justify-center"> <?php $__currentLoopData = $contest->registrations->where('squad', $i)->sortBy('user.lastname'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['whitespace-nowrap p-1 border rounded select-none', 'registration-own' => isset($registration) && $reg->id == $registration->id ]); ?>" :class="highlight<?php echo e($reg->division?->bgdivision); ?> ? 'division-active' : ''" title="<?php echo e($reg->division?->division); ?>"> <?php if($reg->user->id == auth()->user()->id && !request()->routeIs('registration.edit')): ?> <a class="font-bold text-sky-600" href="<?php echo e(route('registration.show', $reg->id)); ?>"><?php echo e($reg->user->displayname); ?><?php if($reg->notcomp): ?> <?php echo e(__('(NC)')); ?><?php endif; ?></a> <?php else: ?> <?php echo e($reg->user->displayname); ?><?php if($reg->notcomp): ?> <?php echo e(__('(NC)')); ?><?php endif; ?> <?php endif; ?> <div class="text-xxs italic"><?php echo e($reg->user->username); ?></div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endfor; ?> </div> <div class="mt-2 flex flex-row flex-wrap justify-around"> <div class="border rounded text-center p-2 grow"> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'cursor-pointer font-bold','for' => 'squad-r','value' => 'Squad R']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'cursor-pointer font-bold','for' => 'squad-r','value' => 'Squad R']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['id' => 'squad-r','type' => 'radio','name' => 'squad','checked' => (old('squad') == '0') || (empty(old('squad')) && isset($registration) && $registration->squad == '0'),'value' => '0']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'squad-r','type' => 'radio','name' => 'squad','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute((old('squad') == '0') || (empty(old('squad')) && isset($registration) && $registration->squad == '0')),'value' => '0']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <div class="w-full mt-2 text-sm gap-2 flex flex-row flex-wrap justify-center"> <?php $__currentLoopData = $contest->registrations->where('squad', 0)->sortBy('user.lastname'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['whitespace-nowrap p-1 border rounded select-none', 'registration-own' => isset($registration) && $reg->id == $registration->id ]); ?>" :class="highlight<?php echo e($reg->division?->bgdivision); ?> ? 'division-active' : ''" title="<?php echo e($reg->division?->division); ?>"> <?php if($reg->user->id == auth()->user()->id && !request()->routeIs('registration.edit')): ?> <a class="font-bold text-sky-600" href="<?php echo e(route('registration.show', $reg->id)); ?>"><?php echo e($reg->user->displayname); ?><?php if($reg->notcomp): ?> <?php echo e(__('(NC)')); ?><?php endif; ?></a> <?php else: ?> <?php echo e($reg->user->displayname); ?><?php if($reg->notcomp): ?> <?php echo e(__('(NC)')); ?><?php endif; ?> <?php endif; ?> <div class="text-xxs italic"><?php echo e($reg->user->username); ?></div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('squad')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('squad'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> </div> <div class="flex flex-col items-center justify-center"> <div class="text-sm text-center"><?php echo e(__('contest.disclaimer')); ?></div> <?php if(request()->routeIs('registration.edit')): ?> <input type="hidden" name="gdpr" value="1" /> <?php else: ?> <div class="mt-2"> <?php if (isset($component)) { $__componentOriginal18c21970322f9e5c938bc954620c12bb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal18c21970322f9e5c938bc954620c12bb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.text-input','data' => ['class' => 'rounded','type' => 'checkbox','id' => 'gdpr','name' => 'gdpr','checked' => !empty(old('gdpr'))]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('text-input'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'rounded','type' => 'checkbox','id' => 'gdpr','name' => 'gdpr','checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(!empty(old('gdpr')))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $attributes = $__attributesOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__attributesOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($__componentOriginal18c21970322f9e5c938bc954620c12bb)): ?> <?php $component = $__componentOriginal18c21970322f9e5c938bc954620c12bb; ?> <?php unset($__componentOriginal18c21970322f9e5c938bc954620c12bb); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-label','data' => ['class' => 'ml-1 inline','for' => 'gdpr']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-label'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'ml-1 inline','for' => 'gdpr']); ?> <?php echo __('I agree with processing of personal data as defined in <a class=":class" href=":url" target="_blank">GDPR rules</a>', ['url' => route('gdpr'), 'class' => 'font-bold underline' ]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $attributes = $__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__attributesOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581)): ?> <?php $component = $__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581; ?> <?php unset($__componentOriginale3da9d84bb64e4bc2eeebaafabfb2581); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalf94ed9c5393ef72725d159fe01139746 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf94ed9c5393ef72725d159fe01139746 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.input-error','data' => ['class' => 'mt-2','messages' => $errors->get('gdpr')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('input-error'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2','messages' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->get('gdpr'))]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $attributes = $__attributesOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__attributesOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> <?php if (isset($__componentOriginalf94ed9c5393ef72725d159fe01139746)): ?> <?php $component = $__componentOriginalf94ed9c5393ef72725d159fe01139746; ?> <?php unset($__componentOriginalf94ed9c5393ef72725d159fe01139746); ?> <?php endif; ?> </div> <?php endif; ?> <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['class' => 'mt-2 mr-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('primary-button'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'mt-2 mr-4']); ?> <?php if(request()->routeIs('registration.edit')): ?> <?php echo e(__('Save')); ?> <?php else: ?> <?php echo e(__('Register')); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> <?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?> <?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?> <?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?> <?php endif; ?> </div> </form> </div> <?php /**PATH /www/loslex/test/resources/views/contests/registration.blade.php ENDPATH**/ ?>