2022-03-14 15:21:26 +01:00
|
|
|
<div
|
|
|
|
class="choice-button-zone has-text-centered {{ 'is-answer-' + answerKind }} clickable"
|
2022-02-07 19:05:14 +01:00
|
|
|
[ngClass]="{ 'is-active': storageService.choiceHasAnswerOfValue(choice.id, answerEnum[answerKind]) }"
|
2022-02-07 16:12:32 +01:00
|
|
|
(click)="storageService.toggleAnswer(choice.id, answerEnum[answerKind])"
|
|
|
|
*ngIf="poll.allowed_answers.indexOf(answerEnum[answerKind]) !== -1"
|
|
|
|
>
|
2022-03-14 15:21:26 +01:00
|
|
|
<button
|
|
|
|
class="icon-deco choice-button has-background-answer-{{ answerKind }} is-filtered-icon-{{ answerKind }}"
|
|
|
|
></button>
|
|
|
|
<p class="button-description">
|
|
|
|
{{ 'participation.' + answerEnum[answerKind] | translate }}
|
|
|
|
</p>
|
|
|
|
</div>
|