1234567891011121314151617181920212223242526272829303132333435 |
- <div class="row justify-content-center">
- <div class="col-8">
- <form name="editForm" role="form" novalidate (ngSubmit)="save()" #editForm="ngForm">
- <h2 id="jhi-cohort-heading" jhiTranslate="zipConnectApp.cohort.home.createOrEditLabel">Create or edit a Cohort</h2>
- <div>
- <jhi-alert-error></jhi-alert-error>
- <div class="form-group" [hidden]="!cohort.id">
- <label for="id" jhiTranslate="global.field.id">ID</label>
- <input type="text" class="form-control" id="id" name="id"
- [(ngModel)]="cohort.id" readonly />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.cohort.cohortId" for="field_cohortId">Cohort Id</label>
- <input type="number" class="form-control" name="cohortId" id="field_cohortId"
- [(ngModel)]="cohort.cohortId" />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.cohort.gradDate" for="field_gradDate">Grad Date</label>
- <input type="text" class="form-control" name="gradDate" id="field_gradDate"
- [(ngModel)]="cohort.gradDate" />
- </div>
-
- </div>
- <div>
- <button type="button" id="cancel-save" class="btn btn-secondary" (click)="previousState()">
- <fa-icon [icon]="'ban'"></fa-icon> <span jhiTranslate="entity.action.cancel">Cancel</span>
- </button>
- <button type="submit" id="save-entity" [disabled]="editForm.form.invalid || isSaving" class="btn btn-primary">
- <fa-icon [icon]="'save'"></fa-icon> <span jhiTranslate="entity.action.save">Save</span>
- </button>
- </div>
- </form>
- </div>
- </div>
|