diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index ad8b9b0c5..126617684 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -74,64 +74,60 @@ - <% @poll.questions.map(&:question_answers).flatten.each do |answer| %> - <% if answer.description.present? || answer.images.any? || answer.documents.present? %> -
- - <%= t("polls.show.documents") %> -
- - <% answer.documents.each do |document| %> - <%= link_to document.title, - document.attachment.url, - target: "_blank", - rel: "nofollow" %>+ + <%= t("polls.show.documents") %> +
+ + <% answer.documents.each do |document| %> + <%= link_to document.title, + document.attachment.url, + target: "_blank", + rel: "nofollow" %>