From 9dc8a0fb344cb3112ddd87df48ad13d35439a055 Mon Sep 17 00:00:00 2001 From: decabeza Date: Mon, 9 Oct 2017 19:44:12 +0200 Subject: [PATCH] fixes questions table with long links on description --- app/views/admin/poll/questions/show.html.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/admin/poll/questions/show.html.erb b/app/views/admin/poll/questions/show.html.erb index 52c4f3276..697843d0d 100644 --- a/app/views/admin/poll/questions/show.html.erb +++ b/app/views/admin/poll/questions/show.html.erb @@ -49,21 +49,21 @@ <% @question.question_answers.each do |answer| %> - <%= link_to answer.title, admin_answer_path(answer) %> - <%= answer.description %> - + <%= link_to answer.title, admin_answer_path(answer) %> + <%= answer.description %> + (<%= answer.images.count %>)
<%= link_to t("admin.questions.show.answers.images_list"), admin_answer_images_path(answer) %> - + (<%= answer.documents.count rescue 0 %>)
<%= link_to t("admin.questions.show.answers.documents_list"), admin_answer_documents_path(answer) %> - + (<%= answer.videos.count %>)
<%= link_to t("admin.questions.show.answers.video_list"),