diff --git a/app/views/admin/journal_papers/merge.html.erb b/app/views/admin/journal_papers/merge.html.erb index 5152283..d2cc4b2 100644 --- a/app/views/admin/journal_papers/merge.html.erb +++ b/app/views/admin/journal_papers/merge.html.erb @@ -36,9 +36,7 @@ <% if params['mode']=='simple' %> <% journals.each_with_index do |journal,i| %> - <% get_member(journal).each do |member| %> - <%= member.name rescue t('personal_journal.no_input') %> - <% end %> + <%= get_member(journal).collect(&:name).join(', ') rescue t('personal_journal.no_input') %> <% if len!=(i+1) %> @@ -56,9 +54,7 @@ <% end %> <% v.each_with_index do |journal_child,index1| %> - <% get_member(journal_child).each do |member| %> - <%= member.name rescue t('personal_journal.no_input') %> - <% end %> + <%= get_member(journal_child).collect(&:name).join(', ') rescue t('personal_journal.no_input') %> <% if len1!=index1 %>