From 53f74e9cf23e810eae5c3191f62d728837c3ec3a Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 14:24:54 +0800 Subject: [PATCH] Update merge.html.erb --- app/views/admin/journal_papers/merge.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/admin/journal_papers/merge.html.erb b/app/views/admin/journal_papers/merge.html.erb index e9cc097..c6e6279 100644 --- a/app/views/admin/journal_papers/merge.html.erb +++ b/app/views/admin/journal_papers/merge.html.erb @@ -44,6 +44,7 @@ <% end %> <% end %> <% else %> + <% i=0 %> <% journals.each do |k,v| %> <% j=0 %> <% puts ['hello',j,k,v] %> @@ -74,7 +75,9 @@ <% end %> - <% j=j+1 %> + <% j=j+1 + i =i+1 + %> <% end %> <% end %>