diff --git a/app/views/admin/archive_files/categories_order.html.erb b/app/views/admin/archive_files/categories_order.html.erb index e183370..e7b9811 100644 --- a/app/views/admin/archive_files/categories_order.html.erb +++ b/app/views/admin/archive_files/categories_order.html.erb @@ -1 +1,10 @@ -<%= @categories.inspect %> \ No newline at end of file +<% all_locales = i18n.locales %> +<% count = all_locales.length %> +<% @cats.each do |cat| %> + <% all_locales.each_with_index do |locale,index| %> + <%= "#{cat[0].title[locale]}" %> + <%= index!=(count-1) ? "/" : ":" %> + <% end %> + +
+<% end %> \ No newline at end of file