<form #f="ngForm" (ngSubmit)="nextQuestion(f)" novalidate>
  <div class="alert alert-grey question">
    Pytanie za {{question.points}}pkt. <br /><span *ngIf="timeLeft > 0">Czas: {{ timeLeft }} sek. </span><span *ngIf="question.time === 0">Czas: bez limitu</span>
    <div class="pytanie">{{question.question}} </div>
    <div class="answers">
      <div *ngFor="let item of question.answers">
        <span *ngIf="!item.is_gap">{{item.content}}</span>
        <input *ngIf="item.is_gap" class="button" type="text" [name]="item.id" ngModel />
      </div>
    </div>
  </div>

  <button class="btn btn-study-cave" type="submit"><i class="fas fa-arrow-right"></i> Dalej</button>
</form>
