9 lines
401 B
HTML
9 lines
401 B
HTML
<button
|
|
class="choice-button has-text-centered {{ 'is-answer-' + answerKind }}"
|
|
[ngClass]="{ 'is-active': 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>
|