funky-framadate-front/src/app/features/consultation/poll-results-detailed/poll-results-detailed.compo...

17 lines
377 B
HTML
Raw Normal View History

2020-05-12 19:16:23 +02:00
<table>
<thead>
<tr>
<th></th>
<th *ngFor="let choice of poll.choices">{{ choice.label }}</th>
</tr>
</thead>
<tbody>
2020-06-12 19:17:39 +02:00
<ng-container *ngFor="let item of buildAnswersByChoiceLabelByPseudo() | keyvalue">
2020-05-12 19:16:23 +02:00
<tr>
<td>{{ item.key }}</td>
<td *ngFor="let subItem of item.value | keyvalue">{{ subItem.value }}</td>
</tr>
</ng-container>
</tbody>
</table>