11 lines
433 B
HTML
11 lines
433 B
HTML
<p>time-list works!</p>
|
|
<div *ngFor="let time of timeList; index as id" class="time-choice">
|
|
<label for="timeChoices_{{ id }}">
|
|
<i class="fa fa-clock-o" aria-hidden="true"></i>
|
|
</label>
|
|
<input [(ngModel)]="time.literal" name="timeChoices_{{ id }}" type="text" id="timeChoices_{{ id }}" />
|
|
<button (click)="time.timeList.splice(id, 1)" class="btn btn-warning">
|
|
<i class="fa fa-times" aria-hidden="true"></i>
|
|
</button>
|
|
</div>
|