From 9b117a71f4f0df0eeacb6ac99bb21a2393950c67 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 14:32:12 +0800 Subject: [PATCH] Update merge.html.erb --- app/views/admin/journal_papers/merge.html.erb | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/app/views/admin/journal_papers/merge.html.erb b/app/views/admin/journal_papers/merge.html.erb index 1da69be..4dfd876 100644 --- a/app/views/admin/journal_papers/merge.html.erb +++ b/app/views/admin/journal_papers/merge.html.erb @@ -47,18 +47,11 @@ <% i=0 %> <% journals.each do |k,v| %> <% len1 = v.length %> - - <%= k[0] %> - - - <%= k[1] %> - - - <%= k[2] %> - - - <%= k[3] %> - + <% k.each |keychild| %> + + <%= keychild %> + + <% end %> <% v.each_with_index do |journal_child,index1| %> <%= journal_child %>