philomena/lib/philomena_web/templates/topic/poll/_display.html.slime
2019-11-18 13:14:10 -05:00

13 lines
No EOL
368 B
Text

= if @poll.hidden_from_users do
.walloftext
.block.block--fixed.block--warning
h1 This poll has been deleted
p
' Reason:
strong
= @poll.deletion_reason || "Unknown (likely deleted in error). Please contact a moderator."
- else
.poll
.poll-area
= render PhilomenaWeb.Topic.PollView, "_results.html", poll: @poll, conn: @conn