@extends('layouts.marketing') @php $registerFieldSteps = [ 'first_name' => 1, 'last_name' => 1, 'email' => 1, 'phone' => 1, 'gender' => 2, 'date_of_birth' => 2, 'address' => 2, 'city' => 2, 'registration_message' => 2, 'fitness_level' => 3, 'goals' => 3, 'screening_heart_chest' => 4, 'screening_surgery' => 4, 'screening_pregnancy' => 4, 'screening_back_neck' => 4, 'screening_spine_deformity' => 4, 'screening_joints' => 4, 'screening_other_difficulties' => 4, 'screening_doctor_permission' => 4, 'screening_pregnancy_detail' => 4, 'medications' => 5, 'emergency_contact_name' => 5, 'emergency_contact_phone' => 5, 'instructor_note' => 5, 'medical_conditions' => 5, 'health_declaration' => 6, 'password' => 6, 'password_confirmation' => 6, ]; $errorRecoveryStep = 1; if ($errors->any()) { foreach ($errors->keys() as $key) { $errorRecoveryStep = max($errorRecoveryStep, $registerFieldSteps[$key] ?? 1); } } @endphp @section('title', __('app.create_your_profile') . ' — ' . __('app.marketing_brand_name')) @section('content')

{{ __('app.register_kicker') }}

{{ __('app.register_form_title') }}

{{ __('app.register_profile_subtitle') }}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ __('app.register_wizard_step_indicator') }} /6 — {{ __('app.register_wizard_step_long_1') }} {{ __('app.register_wizard_step_long_2') }} {{ __('app.register_wizard_step_long_3') }} {{ __('app.register_wizard_step_long_4') }} {{ __('app.register_wizard_step_long_5') }} {{ __('app.register_wizard_step_long_6') }}

@csrf

{{ __('app.register_wizard_step_long_1') }}

@include('auth.partials.register-step-2-address')
@include('auth.partials.register-step-3-goals')
@include('auth.partials.register-step-4-screening')
@include('auth.partials.register-step-5-health-contact')
@include('auth.partials.register-step-6-declaration')

{{ __('app.already_have_account') }} {{ __('app.sign_in_here') }}

@endsection @push('scripts') @endpush