Guest User

Untitled

a guest
Jan 14th, 2020
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="card mb-5">
  2.     <div class="card-header">Filter options</div>
  3.     <div class="card-body">
  4.         <form class="form-inline" [formGroup]="filters">
  5.             <label class="mr-1">
  6.                 Name:
  7.                 <input type="text" formControlName="name">
  8.             </label>
  9.             <label>
  10.                 Min score:
  11.                 <input type="number" min="0" max="5" style="width: 50px" formControlName="minRating">
  12.             </label>
  13.             <label>
  14.                 Max score:
  15.                 <input type="number" min="0" max="5" style="width: 50px" formControlName="maxRating">
  16.             </label>
  17.             <label>
  18.                 ECTS:
  19.                 <input type="number" min="0" max="15" style="width: 50px" formControlName="ects">
  20.             </label>
  21.             <label>
  22.                 Semester:
  23.                 <input type="number" min="1" max="7" style="width: 50px" formControlName="semester">
  24.             </label>
  25.         </form>
  26.     </div>
  27. </div>
  28.  
  29. <div class="card-deck">
  30.     <app-course *ngFor="let course of courses | filter:filters.value" [course]="course" class="card"
  31.         (deleted)="onDeleted($event)">
  32.     </app-course>
  33. </div>
RAW Paste Data