zulip/static/templates/widgets/poll-widget-results.handlebars

12 lines
305 B
Handlebars

{{#each options}}
<li>
<button class="poll-vote {{#if current_user_vote}}current-user-vote{{/if}}" data-key="{{ key }}">
{{ count }}
</button>
<span class="poll-option">{{ option }}</span>
{{#if names}}
<span class="poll-names">({{ names }})</span>
{{/if}}
</li>
{{/each}}