funky-framadate-front/src/app/features/consultation/edit/edit.component.html

37 lines
1.1 KiB
HTML
Raw Normal View History

2022-02-07 11:42:25 +01:00
<app-stepper [step_current]="4" [step_max]="pollService.step_max"></app-stepper>
<div class="step">
<h3 class="title is-3">
{{ 'participation.voting_title' | translate }}
</h3>
<div class="date-choices" *ngIf="pollService.poll.kind == 'date'">
<div class="box" *ngFor="let group of poll.choices_grouped"></div>
</div>
<div class="rounded-block">
<div class="time-slice-choice" *ngFor="let choice of group.choices">
<h4 class="title is-4 choice-label">
{{ choice.name }}
</h4>
<app-choice-button
[poll]="poll"
[choice]="choice"
[answerKind]="'YES'"
*ngIf="poll.allowed_answers.indexOf('yes') !== -1"
></app-choice-button>
<app-choice-button
[poll]="poll"
[choice]="choice"
[answerKind]="'MAYBE'"
*ngIf="poll.allowed_answers.indexOf('maybe') !== -1"
></app-choice-button>
<app-choice-button
[poll]="poll"
[choice]="choice"
[answerKind]="'NO'"
*ngIf="poll.allowed_answers.indexOf('no') !== -1"
></app-choice-button>
</div>
</div>
2022-02-07 11:42:25 +01:00
</div>
<app-nav-steps [next_step_number]="2" [previous_step_number]="0"></app-nav-steps>