Update merge.html.erb

This commit is contained in:
chiu 2019-11-01 14:32:12 +08:00
parent 02dd7f5c1b
commit 9b117a71f4
1 changed files with 5 additions and 12 deletions

View File

@ -47,18 +47,11 @@
<% i=0 %> <% i=0 %>
<% journals.each do |k,v| %> <% journals.each do |k,v| %>
<% len1 = v.length %> <% len1 = v.length %>
<td rowspan="<%= len1 %>"> <% k.each |keychild| %>
<%= k[0] %> <td rowspan="<%= len1 %>">
</td> <%= keychild %>
<td rowspan="<%= len1 %>"> </td>
<%= k[1] %> <% end %>
</td>
<td rowspan="<%= len1 %>">
<%= k[2] %>
</td>
<td rowspan="<%= len1 %>">
<%= k[3] %>
</td>
<% v.each_with_index do |journal_child,index1| %> <% v.each_with_index do |journal_child,index1| %>
<td> <td>
<%= journal_child %> <%= journal_child %>