You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
HTML
25 lines
1.4 KiB
HTML
<form *ngIf="formGroup" [formGroup]="formGroup">
|
|
<h1 mat-dialog-title>{{'DATASET-REFERENCED-MODELS.SERVICES.TITLE' | translate}}</h1>
|
|
<div mat-dialog-content>
|
|
<mat-form-field class="full-width">
|
|
<input matInput formControlName="label" placeholder="{{'DATASET-REFERENCED-MODELS.SERVICES.LABEL' | translate}}" required>
|
|
<mat-error *ngIf="formGroup.get('label').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
|
|
</mat-form-field>
|
|
<mat-form-field class="full-width">
|
|
<input matInput formControlName="abbreviation" placeholder="{{'DATASET-REFERENCED-MODELS.SERVICES.ABBREVIATION' | translate}}" required>
|
|
<mat-error *ngIf="formGroup.get('abbreviation').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
|
|
</mat-form-field>
|
|
<mat-form-field class="full-width">
|
|
<input matInput formControlName="uri" placeholder="{{'DATASET-REFERENCED-MODELS.SERVICES.URI' | translate}}" required>
|
|
<mat-error *ngIf="formGroup.get('uri').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
<div mat-dialog-actions>
|
|
<div layout="row" class="full-width text-right" align="end">
|
|
<button mat-raised-button color="primary" (click)="send()" type="button">Save</button>
|
|
<button mat-button mat-dialog-close mat-raised-button color="primary">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</form>
|