From df2cc0ffa91e680476db4d856bcb726452dc1a50 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 2 Aug 2020 10:43:46 +0000 Subject: [PATCH] Display nested titles and entries separately --- src/views/title.html.ecr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/title.html.ecr b/src/views/title.html.ecr index aaa9c85..2af7067 100644 --- a/src/views/title.html.ecr +++ b/src/views/title.html.ecr @@ -57,6 +57,8 @@ <% progress = title_percentage[i] %> <%= render_component "card" %> <% end %> + +
<% entries.each_with_index do |item, i| %> <% progress = percentage[i] %> <%= render_component "card" %>