From cabee400321555597cfa3b8a348d702ee758d530 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 5 Sep 2023 11:50:58 +0300 Subject: [PATCH] Mute hidden comment text in each table cell --- app/views/diary_entries/comments.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/diary_entries/comments.html.erb b/app/views/diary_entries/comments.html.erb index e3a7ff23e..0d6ddfb01 100644 --- a/app/views/diary_entries/comments.html.erb +++ b/app/views/diary_entries/comments.html.erb @@ -16,10 +16,10 @@ <% @comments.each do |comment| -%> - "> - <%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> - <%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %> - <%= comment.body.to_html %> + + "><%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> + "><%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %> + "><%= comment.body.to_html %> <% end -%> -- 2.39.5