Project

General

Profile

1
<div *ngIf="baseUrlList" [formGroup]="group" class="form-group">
2
  <div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
3
  <div>
4
    <label class="btn btn-link validationSetRadio" for="selectRadio">
5
      <input id="selectRadio" value="select" name="baseURLRadio" type="radio" (change)="chooseUrl(true)" checked>
6
      <span>Select base URL from one of your registered repositories</span>
7
    </label>
8
  </div>
9
  <select id="selectBaseUrl" formControlName="selectBaseUrl" class="form-control" >
10
    <option value="">-- none selected --</option>
11
    <option *ngFor="let url of baseUrlList" value="{{ url }}">{{ url }}</option>
12
  </select>
13
  <div>
14
    <label class="btn btn-link validationSetRadio" for="customRadio">
15
      <input id="customRadio" value="custom" name="baseURLRadio" type="radio" (change)="chooseUrl(false)">
16
      <span>or enter new</span>
17
    </label>
18
  </div>
19
  <input id="customBaseUrl" formControlName="customBaseUrl" class="form-control" type="text">
20
</div>
(1-1/2)