35 lines
1.7 KiB
HTML
35 lines
1.7 KiB
HTML
<div class="main-info" [formGroup]="formGroup">
|
|
<div class="col-12 intro">
|
|
<p>{{'DMP-EDITOR.DATASET-INFO.INTRO' | translate}}</p>
|
|
<p>{{'DMP-EDITOR.DATASET-INFO.SECOND-INTRO' | translate}}</p>
|
|
</div>
|
|
<div class="col-12 card">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="heading">3 {{'DMP-EDITOR.STEPPER.DATASET-INFO' | translate}}*</div>
|
|
<div class="hint">
|
|
<div class="pb-1">{{'DMP-EDITOR.MAIN-INFO.HINT' | translate}}</div>
|
|
<div><span class="material-icons-outlined align-bottom">info</span> {{'DMP-EDITOR.MAIN-INFO.TYPING' | translate}}</div>
|
|
</div>
|
|
<div class="profile-form">
|
|
<mat-form-field appearance="outline">
|
|
<app-multiple-auto-complete required='true' [formControl]="formGroup.get('profiles')" placeholder="{{'DMP-EDITOR.FIELDS.DATASET-TEMPLATES' | translate}}" [configuration]="profilesAutoCompleteConfiguration">
|
|
</app-multiple-auto-complete>
|
|
<mat-error *ngIf="formGroup.get('profiles').hasError('backendError')">
|
|
{{formGroup.get('profiles').getError('backendError').message}}</mat-error>
|
|
<mat-error *ngIf="formGroup.get('profiles').hasError('required')">
|
|
{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
|
|
<button matSuffix class="input-btn" [disabled]="formGroup.get('profiles').disabled" (click)="availableProfiles($event)">
|
|
<mat-icon class="icon-btn">view_list</mat-icon>
|
|
</button>
|
|
</mat-form-field>
|
|
</div>
|
|
<div class="col pb-3 d-flex">
|
|
<span class="not-found">{{'DMP-EDITOR.DATASET-INFO.FIND' | translate}}</span>
|
|
<span class="insert" (click)="addDataset(dmp.id)">{{'DMP-EDITOR.ACTIONS.CREATE-DATASET' | translate}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|