diff --git a/app/components/polls/questions/read_more_answer_component.html.erb b/app/components/polls/questions/read_more_answer_component.html.erb index 1810f981a..27f87d7ed 100644 --- a/app/components/polls/questions/read_more_answer_component.html.erb +++ b/app/components/polls/questions/read_more_answer_component.html.erb @@ -3,12 +3,8 @@
" id="answer_<%= answer.id %>">

<%= answer.title %>

- <% if answer.images.any? %> - <%= render "polls/gallery", answer: answer %> - <% end %> - - <% if answer.description.present? %> -
+
+ <% if answer.description.present? %>
<%= wysiwyg(answer.description) %>
@@ -25,39 +21,43 @@ <%= t("polls.show.read_less", answer: answer.title) %>
-
- <% end %> + <% end %> - <% if answer.documents.present? %> - - <% end %> + <% if answer.documents.present? %> + - <% end %> + <% if answer.videos.present? %> + + <% end %> +
<% end %>