9 lines
360 B
HTML
9 lines
360 B
HTML
|
<button
|
||
|
class="choice-button is-white"
|
||
|
[ngClass]="{ 'is-primary': storageService.choiceHasAnswerOfValue(choice.id, answerEnum[answerKind]) }"
|
||
|
(click)="storageService.toggleAnswer(choice.id, answerEnum[answerKind])"
|
||
|
*ngIf="poll.allowed_answers.indexOf(answerEnum[answerKind]) !== -1"
|
||
|
>
|
||
|
{{ 'participation.' + answerEnum[answerKind] | translate }}
|
||
|
</button>
|