diff --git a/resources/views/portal/ninja2020/auth/register.blade.php b/resources/views/portal/ninja2020/auth/register.blade.php index cd4215f73ef3..806dec49996e 100644 --- a/resources/views/portal/ninja2020/auth/register.blade.php +++ b/resources/views/portal/ninja2020/auth/register.blade.php @@ -12,14 +12,88 @@
@csrf - @include('portal.ninja2020.auth.includes.register.personal_information') - {{ ctrans('texts.more_fields') }} +
+ @foreach($company->client_registration_fields as $field) +
+
+ + + @if($field['required']) +
*
+ @endif +
-
- @include('portal.ninja2020.auth.includes.register.website') - @include('portal.ninja2020.auth.includes.register.personal_address') - @include('portal.ninja2020.auth.includes.register.shipping_address') + @if($field['key'] === 'email') + + @elseif($field['key'] === 'password') + + @elseif($field['key'] === 'country_id') + + @else + + @endif + + @error($field['key']) +
+ {{ $message }} +
+ @enderror +
+ + @if($field['key'] === 'password') +
+
+ + + @if($field['required']) +
*
+ @endif +
+ + +
+ @endif + @endforeach