diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb
index 89405b8ab..6fab364b5 100644
--- a/app/views/stores/index.html.erb
+++ b/app/views/stores/index.html.erb
@@ -3,10 +3,10 @@
<% end %>
-<% @attach_array.each do |k|%>
+<% @attach_array.each_with_index do |k, index|%>
- <%= @str_arr.shift %>
+ <%= @str_arr[index] %>
@@ -24,7 +24,7 @@
- <% if @str_arr.shift == @str_arr[2]%>
+ <% if index == 2%>
<% k.each do |c1|%>
@@ -94,4 +94,4 @@
}
});
-<% html_title(l(:label_stores_index)) -%>
\ No newline at end of file
+<% html_title(l(:label_stores_index)) -%>