Sha256: febd5708707d7841552106b6e58a86f0d134cb48d43481efd215655d5c13dd1c
Contents?: true
Size: 1.01 KB
Versions: 9
Compression:
Stored size: 1.01 KB
Contents
.card.mb-3 .card-body %h5.card-title Results %p #{poll} was available from #{poll.available_date}. %p %strong = pluralize(poll.completed_ballots.count, 'users') completed ballots from an audience of = succeed('.') do %strong= pluralize(poll.users.count, 'total users') .card.mb-3 .card-body %h5.card-title Question Results .effective-ballot %table.table.table-hover %thead %tr %th Question %th Results %tbody - ballots = poll.ballots - poll.poll_questions.each_with_index do |poll_question, index| - ballot_responses = poll.poll_results(poll_question: poll_question) %tr %td #{poll_question.position + 1}. #{poll_question} %br %small.text-muted= poll_question.category %td= render('effective/poll_results/poll_result', poll_question: poll_question, ballot_responses: ballot_responses)
Version data entries
9 entries across 9 versions & 1 rubygems