diff --git a/app/components/polls/poll_component.html.erb b/app/components/polls/poll_component.html.erb index 9852c1b30..24594fc7e 100644 --- a/app/components/polls/poll_component.html.erb +++ b/app/components/polls/poll_component.html.erb @@ -27,13 +27,12 @@
-
<% if poll.questions.one? %>

<%= link_to_poll poll.questions.first.title, poll %>

- <%= dates %> +
<%= dates %>
<% else %>

<%= link_to_poll poll.name, poll %>

- <%= dates %> +
<%= dates %>