- Timestamp:
- 11/16/20 03:55:10 (4 years ago)
- Branches:
- master
- Children:
- db484c9
- Parents:
- 8b13eb2
- Location:
- Farmatiko/ClientApp/src/app/dialogs/edit-pharmacy-dialog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/dialogs/edit-pharmacy-dialog/edit-pharmacy-dialog.component.html
r8b13eb2 r8e74e2f 13 13 <div class="form-group"> 14 14 <label>Location</label> 15 <input type="text" class="form-control" [(ngModel)]="pharmacy.location" #email="ngModel" required />15 <input type="text" class="form-control" name="location" [(ngModel)]="pharmacy.location" #location="ngModel" required /> 16 16 <div class="alert alert-danger" [hidden]="pharmacy.location">Location is required</div> 17 17 </div> 18 18 <div class="form-group"> 19 19 <label>Work 24/7</label> 20 <br />21 20 <div class="radio"> 22 21 <label> 23 <input type="radio" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAllTime="ngModel" value="true" required /> 24 Да 25 </label> 26 </div> 27 <div class="radio"> 28 <label> 29 <input type="radio" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAlltime="ngModel" value="false" required /> 30 Не 22 <input type="checkbox" name="workAllTime" [(ngModel)]="pharmacy.workAllTime" #workAllTime="ngModel" [value]="pharmacy.workAllTime"/> 31 23 </label> 32 24 </div> -
Farmatiko/ClientApp/src/app/dialogs/edit-pharmacy-dialog/edit-pharmacy-dialog.component.ts
r8b13eb2 r8e74e2f 19 19 20 20 save() { 21 console.log(this.pharmacy); 21 22 this.dialogRef.close(this.pharmacy); 22 23 }
Note:
See TracChangeset
for help on using the changeset viewer.