Update merge.html.erb
This commit is contained in:
parent
53f74e9cf2
commit
02dd7f5c1b
|
@ -46,8 +46,6 @@
|
|||
<% else %>
|
||||
<% i=0 %>
|
||||
<% journals.each do |k,v| %>
|
||||
<% j=0 %>
|
||||
<% puts ['hello',j,k,v] %>
|
||||
<% len1 = v.length %>
|
||||
<td rowspan="<%= len1 %>">
|
||||
<%= k[0] %>
|
||||
|
@ -62,22 +60,19 @@
|
|||
<%= k[3] %>
|
||||
</td>
|
||||
<% v.each_with_index do |journal_child,index1| %>
|
||||
<% len2 = v.length %>
|
||||
<td>
|
||||
<%= journal_child %>
|
||||
</td>
|
||||
<% if len2!=(i+1) %>
|
||||
<% if len1!=index1 %>
|
||||
</tr>
|
||||
<tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if len1!=(j+1) %>
|
||||
<% if len1!=(i+1) %>
|
||||
</tr>
|
||||
<tr>
|
||||
<% end %>
|
||||
<% j=j+1
|
||||
i =i+1
|
||||
%>
|
||||
<% i =i+1 %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue