123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <div class="row justify-content-center">
- <div class="col-8">
- <form name="editForm" role="form" novalidate (ngSubmit)="save()" #editForm="ngForm">
- <h2 id="jhi-privacy-heading" jhiTranslate="zipConnectApp.privacy.home.createOrEditLabel">Create or edit a Privacy</h2>
- <div>
- <jhi-alert-error></jhi-alert-error>
- <div class="form-group" [hidden]="!privacy.id">
- <label for="id" jhiTranslate="global.field.id">ID</label>
- <input type="text" class="form-control" id="id" name="id"
- [(ngModel)]="privacy.id" readonly />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.privacy.privacyId" for="field_privacyId">Privacy Id</label>
- <input type="number" class="form-control" name="privacyId" id="field_privacyId"
- [(ngModel)]="privacy.privacyId" />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.privacy.publicView" for="field_publicView">Public View</label>
- <input type="checkbox" class="form-control" name="publicView" id="field_publicView"
- [(ngModel)]="privacy.publicView" />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.privacy.cohortView" for="field_cohortView">Cohort View</label>
- <input type="checkbox" class="form-control" name="cohortView" id="field_cohortView"
- [(ngModel)]="privacy.cohortView" />
- </div>
- <div class="form-group">
- <label class="form-control-label" jhiTranslate="zipConnectApp.privacy.employerView" for="field_employerView">Employer View</label>
- <input type="checkbox" class="form-control" name="employerView" id="field_employerView"
- [(ngModel)]="privacy.employerView" />
- </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>
|