fix Botstrap Col Fields On Quick Create Dataset DatasetStep DatasetFormGroup

This commit is contained in:
Diamantis Tziotzios 2019-03-07 14:31:09 +02:00
parent 583db09764
commit 67c4d2f55a
2 changed files with 3 additions and 5 deletions

View File

@ -1,8 +1,7 @@
<div class="row">
<div class="col row">
<div class="col">
<h3>{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.THIRD-STEP.NEW-TITLE' | translate}} {{titlePrefix}}</h3>
</div>
<div></div>
<div class="col-auto">
<mat-button-toggle-group [ngModel]="_inputValue">
<mat-button-toggle value="list" (change)="onValChange($event.value)">
@ -18,7 +17,6 @@
<div class="col-12"
*ngFor="let dataset of this.formGroup.get('datasets').get('datasetsList')['controls'] let i=index;">
<mat-card>
<mat-card-content>
<div class="row">
<div class="col">
@ -43,7 +41,7 @@
</button> -->
</div>
</div>
<div *ngIf="toggleButton=='2' && editedDataset" class="row">
<div *ngIf="toggleButton=='2' && editedDataset" class="col-12 row">
<mat-form-field class="col-md-12">
<input matInput placeholder="{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.THIRD-STEP.DATASET-LABEL' | translate}}" type="string" name="datasetLabel"
[formControl]="this.formGroup.get('datasets').get('datasetsList')['controls'][lastIndexOfDataset].get('datasetLabel')" required>

View File

@ -42,7 +42,7 @@
</ng-template>
<!-- <ng-container *ngIf="isAvtive('step3')"> -->
<ng-container *ngIf="formGroup.get('dmp').valid && isActive('step3')">
<div *ngIf="formGroup.get('datasets')">
<div *ngIf="formGroup.get('datasets')" class="row">
<!-- <div *ngIf="this.isActiveStep(3)" class="row"> -->
<app-dataset-editor-wizard-component class="col-12" [formGroup]="formGroup"
[datasetProfile]="formGroup.get('dmp').get('datasetProfile')"