1 |
3dcfc4ab
|
lmoucka@students.zcu.cz
|
<p-dialog [visible]="isVisible" [modal]="true" [closable]="false" [draggable]="false" header="Edit unit - {{ unit?.unitId}}" [baseZIndex]="10000" [className]="'popup-form'">
|
2 |
a3ae1cab
|
hlavja
|
|
3 |
|
|
<form [formGroup]="insertForm">
|
4 |
|
|
<div class="input-group form-group">
|
5 |
abe9aea2
|
hlavja
|
<div class="input-group-prepend">
|
6 |
9d5c8063
|
lmoucka@students.zcu.cz
|
<span class="input-group-text"><i class="fas fa-pen"></i></span>
|
7 |
abe9aea2
|
hlavja
|
</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 |
3dcfc4ab
|
lmoucka@students.zcu.cz
|
<div class="pupup-buttons">
|
14 |
|
|
<button pButton type="button" label="Close" class="p-button-primary dark" icon="pi pi-times" (click)="close()"></button>
|
15 |
|
|
<button pButton type="submit" label="Save" class="p-button-primary dark" icon="pi pi-check" (click)="saveUnit()"></button>
|
16 |
bb7795cd
|
hlavja
|
</div>
|
17 |
|
|
</p-footer>
|
18 |
|
|
</p-dialog>
|