source: Farmatiko/ClientApp/src/app/dialogs/add-medicine-dialog/add-medicine-dialog.component.html@ 8e74e2f

Last change on this file since 8e74e2f was 8b13eb2, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

fix bugs

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[8b13eb2]1<div class="wrapper">
2<form [formGroup]="forma" (ngSubmit)="save()">
3 <mat-form-field appearance="fill">
4 <mat-label>Име</mat-label>
5 <input matInput type="text" formControlName="name" required>
6 </mat-form-field><br/>
7 <mat-form-field appearance="fill">
8 <mat-label>Јачина</mat-label>
9 <input matInput type="text" formControlName="strength" required>
10 </mat-form-field><br/>
11 <mat-form-field appearance="fill">
12 <mat-label>Форма</mat-label>
13 <input matInput type="text" formControlName="form" required>
14 </mat-form-field><br/>
15 <mat-form-field appearance="fill">
16 <mat-label>Начин на издавање</mat-label>
17 <input matInput type="text" formControlName="wayOfIssuing" required>
18 </mat-form-field><br/>
19 <mat-form-field appearance="fill">
20 <mat-label>Производител</mat-label>
21 <input matInput type="text" formControlName="manufacturer" required>
22 </mat-form-field><br/>
23 <mat-form-field appearance="fill">
24 <mat-label>Цена</mat-label>
25 <input matInput type="text" formControlName="price" required>
26 </mat-form-field><br/>
27 <mat-form-field appearance="fill">
28 <mat-label>Пакување</mat-label>
29 <input matInput type="text" formControlName="packaging" required>
30 </mat-form-field><br/>
31 <button type="reset" class="btn btn-default" (click)="close()">Cancel</button>&nbsp;&nbsp;
32 <button type="submit" class="btn btn-success" [disabled]="!forma.valid">Save</button>
33</form>
34</div>
Note: See TracBrowser for help on using the repository browser.