diff --git a/src/app/features/administration/administration-routing.module.ts b/src/app/features/administration/administration-routing.module.ts index 8b2bf8f4..af3a55d7 100644 --- a/src/app/features/administration/administration-routing.module.ts +++ b/src/app/features/administration/administration-routing.module.ts @@ -2,8 +2,28 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { AdministrationComponent } from './administration.component'; +import { StepTwoComponent } from './form/step-two/step-two.component'; +import { StepThreeComponent } from './form/step-three/step-three.component'; +import { StepFourComponent } from './form/step-four/step-four.component'; +import { StepFiveComponent } from './form/step-five/step-five.component'; +import { StepOneComponent } from './form/step-one/step-one.component'; -const routes: Routes = [{ path: '', component: AdministrationComponent }]; +const routes: Routes = [ + { + path: '', + component: AdministrationComponent, + }, + { + path: 'step', + children: [ + { path: '1', component: StepOneComponent }, + { path: '2', component: StepTwoComponent }, + { path: '3', component: StepThreeComponent }, + { path: '4', component: StepFourComponent }, + { path: '5', component: StepFiveComponent }, + ], + }, +]; @NgModule({ imports: [RouterModule.forChild(routes)], diff --git a/src/app/features/administration/administration.module.ts b/src/app/features/administration/administration.module.ts index 5a5a2e84..1a76397b 100644 --- a/src/app/features/administration/administration.module.ts +++ b/src/app/features/administration/administration.module.ts @@ -12,6 +12,9 @@ import { DateValueAccessorModule } from 'angular-date-value-accessor'; import { ClassicChoicesComponent } from './form/classic-choices/classic-choices.component'; import { StepOneComponent } from './form/step-one/step-one.component'; import { StepTwoComponent } from './form/step-two/step-two.component'; +import { StepThreeComponent } from './form/step-three/step-three.component'; +import { StepFourComponent } from './form/step-four/step-four.component'; +import { StepFiveComponent } from './form/step-five/step-five.component'; @NgModule({ declarations: [ @@ -21,6 +24,9 @@ import { StepTwoComponent } from './form/step-two/step-two.component'; ClassicChoicesComponent, StepOneComponent, StepTwoComponent, + StepThreeComponent, + StepFourComponent, + StepFiveComponent, ], imports: [ AdministrationRoutingModule, diff --git a/src/app/features/administration/form/form.component.html b/src/app/features/administration/form/form.component.html index 99a59178..300d7312 100644 --- a/src/app/features/administration/form/form.component.html +++ b/src/app/features/administration/form/form.component.html @@ -1,65 +1,29 @@