mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57:59 +01:00
12 lines
377 B
Text
12 lines
377 B
Text
= if Enum.any?(@options) do
|
|
= for option <- @options do
|
|
h5 = option.label
|
|
|
|
= for vote <- option.poll_votes do
|
|
span.interaction-user-list-item
|
|
=> link vote.user.name, to: Routes.profile_path(@conn, :show, vote.user)
|
|
/= link "(x)", to: Routes.forum_topic_poll_vote_path(@conn, :delete, @forum, @topic, vote)
|
|
|
|
- else
|
|
p
|
|
em No votes to display
|