1 |
a3d61638
|
hlavja
|
<p-dialog [visible]="isVisible" [modal]="true" [closable]="false" [draggable]="false" header="Edit unit - {{ unit?.unitId}}" [style]="{width: '50vw'}" [baseZIndex]="10000">
|
2 |
a3ae1cab
|
hlavja
|
|
3 |
|
|
<form [formGroup]="insertForm">
|
4 |
|
|
<div class="input-group form-group">
|
5 |
abe9aea2
|
hlavja
|
<div class="input-group-prepend">
|
6 |
|
|
<span class="input-group-text">Description</span>
|
7 |
|
|
</div>
|
8 |
a3ae1cab
|
hlavja
|
<input type="text" formControlName="unitDescription" class="form-control" id="unitDescription" placeholder="{{unit?.description}}"/>
|
9 |
|
|
</div>
|
10 |
|
|
</form>
|
11 |
|
|
|
12 |
bb7795cd
|
hlavja
|
<p-footer>
|
13 |
|
|
<div class="row justify-content-end align-items-center">
|
14 |
|
|
<div>
|
15 |
a3ae1cab
|
hlavja
|
<p-button icon="pi pi-check" (click)="saveUnit()" type="submit" label="Save" class="pr-2"></p-button>
|
16 |
|
|
<p-button icon="pi pi-times" (click)="close()" label="Close" class="pr-2"></p-button>
|
17 |
bb7795cd
|
hlavja
|
</div>
|
18 |
|
|
</div>
|
19 |
|
|
</p-footer>
|
20 |
|
|
</p-dialog>
|