ui fixes
This commit is contained in:
parent
f9ce641b2b
commit
b2355566e5
|
@ -4,19 +4,24 @@
|
||||||
<div class="col-auto ml-auto close-btn" (click)="close()"><mat-icon class="close-icon">close</mat-icon></div>
|
<div class="col-auto ml-auto close-btn" (click)="close()"><mat-icon class="close-icon">close</mat-icon></div>
|
||||||
</div>
|
</div>
|
||||||
<div mat-dialog-content class="confirmation-message">
|
<div mat-dialog-content class="confirmation-message">
|
||||||
<mat-form-field class="col-12">
|
<div class="row mt-3">
|
||||||
<app-single-auto-complete [formControl]="data.formGroup.get('dmpId')" placeholder="{{'DESCRIPTION-COPY-DIALOG.SELECT-DMP' | translate}}" [configuration]="dmpAutoCompleteConfiguration">
|
<div class="col-12">
|
||||||
</app-single-auto-complete>
|
<mat-form-field class="w-100">
|
||||||
</mat-form-field>
|
<app-single-auto-complete [formControl]="data.formGroup.get('dmpId')" placeholder="{{'DESCRIPTION-COPY-DIALOG.SELECT-DMP' | translate}}" [configuration]="dmpAutoCompleteConfiguration">
|
||||||
<div *ngIf="this.sections.length > 1">
|
</app-single-auto-complete>
|
||||||
<mat-form-field>
|
</mat-form-field>
|
||||||
<mat-label>{{'DESCRIPTION-COPY-DIALOG.DMP-SECTION' | translate}}</mat-label>
|
</div>
|
||||||
<mat-select [formControl]="data.formGroup.get('sectionId')">
|
</div>
|
||||||
<mat-option *ngFor="let section of sections" [value]="section.id">{{section.label}}</mat-option>
|
<div *ngIf="this.sections.length > 1" class="row">
|
||||||
</mat-select>
|
<div class="col-12">
|
||||||
</mat-form-field>
|
<mat-form-field class="w-100">
|
||||||
|
<mat-label>{{'DESCRIPTION-COPY-DIALOG.DMP-SECTION' | translate}}</mat-label>
|
||||||
|
<mat-select [formControl]="data.formGroup.get('sectionId')">
|
||||||
|
<mat-option *ngFor="let section of sections" [value]="section.id">{{section.label}}</mat-option>
|
||||||
|
</mat-select>
|
||||||
|
</mat-form-field>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <mat-error *ngIf="data.formControl.hasError('incorrect')">{{getErrorMessage()}}</mat-error> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div mat-dialog-actions class="row">
|
<div mat-dialog-actions class="row">
|
||||||
<div class="col-auto ml-auto"><button mat-button class="cancel-btn" type="button" (click)="cancel()">{{ data.cancelButton }}</button></div>
|
<div class="col-auto ml-auto"><button mat-button class="cancel-btn" type="button" (click)="cancel()">{{ data.cancelButton }}</button></div>
|
||||||
|
|
Loading…
Reference in New Issue