Merge Anmeldeformular into main #21
|
@ -3,37 +3,6 @@
|
|||
<!--</button>-->
|
||||
|
||||
<mat-stepper linear #stepper>
|
||||
<!-- Step 0-->
|
||||
<mat-step [stepControl]="zeroFormGroup" class="firstStep">
|
||||
<form [formGroup]="zeroFormGroup">
|
||||
<ng-template matStepLabel>Registration</ng-template>
|
||||
<div class="flexContainerRow width20">
|
||||
<mat-checkbox formControlName="danceTraining"
|
||||
>Für den Tanzunterricht (Tanz-Flatrate)</mat-checkbox
|
||||
>
|
||||
</div>
|
||||
<div class="flexContainerRow width20">
|
||||
<mat-checkbox formControlName="karateTraining"
|
||||
>Für den Karateunterricht</mat-checkbox
|
||||
>
|
||||
</div>
|
||||
<div class="flexContainerRow width20">
|
||||
<mat-checkbox formControlName="freeTraining"
|
||||
>Für freies Training (unterschriebenes Beiblatt muss der Anmeldung
|
||||
beiliegen)</mat-checkbox
|
||||
>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
<button
|
||||
mat-button
|
||||
matStepperNext
|
||||
[disabled]="zeroFormGroup.status == 'INVALID'">
|
||||
Next
|
||||
</button>
|
||||
</div>
|
||||
</mat-step>
|
||||
|
||||
<!-- Step 1-->
|
||||
<mat-step [stepControl]="firstFormGroup" class="firstStep">
|
||||
<form [formGroup]="firstFormGroup" class="flexContainerRow width50">
|
||||
|
|
|
@ -86,16 +86,6 @@ export class StudentRegisterComponent implements OnInit {
|
|||
// });
|
||||
// }
|
||||
|
||||
this.zeroFormGroup = this._formBuilder.group(
|
||||
{
|
||||
danceTraining: [''],
|
||||
karateTraining: [''],
|
||||
freeTraining: [''],
|
||||
},
|
||||
{
|
||||
validators: [this.requireAtLeastOne],
|
||||
}
|
||||
);
|
||||
this.firstFormGroup = this._formBuilder.group({
|
||||
firstName: ['', Validators.required],
|
||||
lastName: ['', Validators.required],
|
||||
|
|
Loading…
Reference in New Issue