13 lines
609 B
HTML
13 lines
609 B
HTML
<div [formGroup]="form">
|
|
<h3>{{section.title}}</h3>
|
|
<div *ngIf="section.fieldGroups">
|
|
<div *ngFor="let group of section.fieldGroups; let j = index;">
|
|
<df-group [group]="group" [form]="form.get('fieldGroups').get(''+j)" [pathName]="pathName+'.fieldGroups.'+j"></df-group>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="section.sections">
|
|
<div *ngFor="let itemsection of section.sections; let j = index;">
|
|
<df-section [section]="itemsection" [form]="form.get('sections').get(''+j)" [pathName]="pathName+'.sections.'+j"></df-section>
|
|
</div>
|
|
</div>
|
|
</div> |