资源库标签显示错误

This commit is contained in:
guange 2015-05-29 19:33:33 +08:00
parent 0eace6e598
commit f4c1cc839c
1 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
<% end %> <% end %>
<div class="resource_sum" id="IE_resource_sum_css"> <div class="resource_sum" id="IE_resource_sum_css">
<% @attach_array.each do |k|%> <% @attach_array.each_with_index do |k, index|%>
<div class="line_block" > <div class="line_block" >
<p> <p>
<%= @str_arr.shift %> <%= @str_arr[index] %>
</p> </p>
<div class="table1"> <div class="table1">
@ -24,7 +24,7 @@
</div> </div>
<div class="table1"> <div class="table1">
<% if @str_arr.shift == @str_arr[2]%> <% if index == 2%>
<% k.each do |c1|%> <% k.each do |c1|%>
<div class="table_row1 <%= cycle 'odd', 'even' %>"> <div class="table_row1 <%= cycle 'odd', 'even' %>">
<div class="filename table_cell1 filename1" > <div class="filename table_cell1 filename1" >
@ -94,4 +94,4 @@
} }
}); });
</script> </script>
<% html_title(l(:label_stores_index)) -%> <% html_title(l(:label_stores_index)) -%>