2017-12-19 14:57:07 +01:00
|
|
|
<div class="data-management-plan-editor">
|
|
|
|
<mat-horizontal-stepper [linear]="isLinear">
|
2017-12-21 10:26:11 +01:00
|
|
|
<mat-step [stepControl]="formGroup">
|
|
|
|
<form *ngIf="formGroup" [formGroup]="formGroup">
|
|
|
|
<ng-template matStepLabel>Dataset Profile Associations</ng-template>
|
2017-12-20 16:15:27 +01:00
|
|
|
<auto-complete class="full-width" placeholder="{{'FORM-PAYMENT-ORDER.EDITOR.FIELDS.PROJECT' | translate}}"
|
|
|
|
[configuration]="dmpAutoCompleteConfiguration"
|
|
|
|
titleKey="label"
|
2017-12-21 10:26:11 +01:00
|
|
|
[control]="formGroup.get('dmp')"
|
2017-12-20 16:15:27 +01:00
|
|
|
[required]="true">
|
2017-12-20 14:34:32 +01:00
|
|
|
</auto-complete>
|
2017-12-21 10:26:11 +01:00
|
|
|
<auto-complete class="full-width" placeholder="{{'FORM-PAYMENT-ORDER.EDITOR.FIELDS.PROJECT' | translate}}"
|
|
|
|
[configuration]="datasetProfileAutoCompleteConfiguration"
|
|
|
|
titleKey="label"
|
|
|
|
[control]="formGroup.get('profile')"
|
|
|
|
[required]="true"
|
|
|
|
[disabled]="!formGroup.get('dmp').value">
|
|
|
|
</auto-complete>
|
2017-12-19 14:57:07 +01:00
|
|
|
<div>
|
|
|
|
<button mat-button matStepperNext>Next</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</mat-step>
|
2017-12-21 10:26:11 +01:00
|
|
|
<mat-step [stepControl]="formGroup">
|
|
|
|
<form *ngIf="formGroup" [formGroup]="formGroup">
|
|
|
|
<ng-template matStepLabel>Dataset Profile Basic Info</ng-template>
|
|
|
|
<app-dataset-editor-component [formGroup]="formGroup"></app-dataset-editor-component>
|
2017-12-19 14:57:07 +01:00
|
|
|
<div>
|
|
|
|
<button mat-button matStepperPrevious>Back</button>
|
|
|
|
<button mat-button matStepperNext>Next</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</mat-step>
|
|
|
|
<mat-step>
|
2017-12-21 10:26:11 +01:00
|
|
|
<ng-template matStepLabel>Dataset Profile Form</ng-template>
|
2017-12-19 14:57:07 +01:00
|
|
|
You are now done.
|
|
|
|
<div>
|
|
|
|
<button mat-button matStepperPrevious>Back</button>
|
|
|
|
</div>
|
|
|
|
</mat-step>
|
|
|
|
</mat-horizontal-stepper>
|
2017-12-21 10:26:11 +01:00
|
|
|
<div *ngIf="formGroup"> {{ formGroup.value | json }}</div>
|
|
|
|
|
2017-12-19 14:57:07 +01:00
|
|
|
</div>
|