<form *ngIf="formGroup" [formGroup]="formGroup">
	<div class="row d-flex flex-row">
		<div mat-dialog-title class="col-auto">
			{{'DATASET-REFERENCED-MODELS.DATA-REPOSITORY.TITLE' | translate}}
		</div>
		<div class="col-auto ml-auto close-btn" (click)="close()">
			<mat-icon>close</mat-icon>
		</div>
	</div>
	<div mat-dialog-content class="row">
		<mat-form-field class="col-auto">
			<input matInput formControlName="name" placeholder="{{'DATASET-REFERENCED-MODELS.DATA-REPOSITORY.LABEL' | translate}}" required>
			<mat-error *ngIf="formGroup.get('name').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
		</mat-form-field>
		<mat-form-field class="col-auto">
			<input matInput formControlName="abbreviation" placeholder="{{'DATASET-REFERENCED-MODELS.DATA-REPOSITORY.ABBREVIATION' | translate}}" required>
			<mat-error *ngIf="formGroup.get('abbreviation').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
		</mat-form-field>
		<mat-form-field class="col-auto">
			<input matInput formControlName="uri" placeholder="{{'DATASET-REFERENCED-MODELS.DATA-REPOSITORY.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 class="row">
		<div class="ml-auto col-auto"><button mat-raised-button type="button" mat-dialog-close>Cancel</button></div>
		<div class="col-auto"><button mat-raised-button color="primary" (click)="send()" type="button">Save</button></div>
	</div>
</form>
