source: bus-n-go-pavel-216049/bus-n-go-frontend/src/app/components/input-field/input-field.component.html@ baf4cc4

Last change on this file since baf4cc4 was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 686 bytes
Line 
1<div>
2 @if (additionalInfo) {
3 <div class="flex items-center justify-between">
4 <label [for]="id" class="block text-sm font-medium leading-6 text-gray-900">{{label}}</label>
5 <div class="text-sm">
6 <a href="#" class="font-semibold text-indigo-600 hover:text-indigo-500">{{additionalInfo}}</a>
7 </div>
8
9 </div>
10 } @else {
11 <label [for]="id" class="block text-sm font-medium leading-6 text-gray-900">{{label}}</label>
12 }
13
14 <div class="mt-2">
15 <input #input (input)="handleInput(input.value)" [id]="id" [name]="name" [type]="type" [placeholder]="placeholder" [autocomplete]="autocomplete" [required]="required" [class]="customClass">
16 </div>
17</div>
Note: See TracBrowser for help on using the repository browser.