Last change
on this file since 8eb1e21 was 28d7d35, checked in by Mile Jankuloski <mile.jankuloski@…>, 4 years ago |
Maps, geolocation api, dialogs & more
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[ee137aa] | 1 |
|
---|
| 2 | <form (ngSubmit)="save()" #headForm="ngForm" class="editForm" novalidate>
|
---|
| 3 | <div class="form-group">
|
---|
| 4 | <label>ИД</label>
|
---|
[28d7d35] | 5 | <input type="text" class="form-control" name="id" [(ngModel)]="head.id" #id="ngModel" required disabled>
|
---|
[ee137aa] | 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>
|
---|
| 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.