source: Farmatiko/ClientApp/src/app/dialogs/edit-pharmacy-head-dialog/edit-pharmacy-head-dialog.component.html@ ee137aa

Last change on this file since ee137aa was ee137aa, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago

Added DataService and dialogs, all bindings needed implemented

  • Property mode set to 100644
File size: 1.3 KB
Line 
1
2 <form (ngSubmit)="save()" #headForm="ngForm" class="editForm" novalidate>
3 <div class="form-group">
4 <label>ИД</label>
5 <input type="text" class="form-control" name="id" [(ngModel)]="head.id" #id="ngModel" required>
6 <div class="alert alert-danger">ID is required</div>
7 </div>
8 <div class="form-group">
9 <label>Име</label>
10 <input type="text" class="form-control" name="name" [(ngModel)]="head.Name" #name="ngModel" required>
11 <div class="alert alert-danger">Name is required</div>
12 </div>
13 <div class="form-group">
14 <label>Е-пошта</label>
15 <input type="text" class="form-control" name="email" [(ngModel)]="head.Email" #email="ngModel" required />
16 <div class="alert alert-danger" [hidden]="head.Email">Email is required</div>
17 </div>
18 <div class="form-group">
19 <label>Лозинка</label>
20 <input type="text" class="form-control" name="passwd" [(ngModel)]="head.Passwd" #passwd="ngModel" required />
21 <div class="alert alert-danger" [hidden]="head.Passwd">Password is required</div>
22 </div>
23 <br />
24 <div class="pull-right">
25 <button class="btn btn-default" (click)="close()">Cancel</button>&nbsp;&nbsp;
26 <button type="submit" class="btn btn-success" [disabled]="!headForm.valid">Save</button>
27 </div>
28 </form>
Note: See TracBrowser for help on using the repository browser.