diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 012c5ff9990..3e476eabcc2 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -1,17 +1,34 @@ -
- - <% @category_list.categories.each_with_index do |c, index| %> -
- - -

- - <%= c.name %> - -

- <%= c.description&.html_safe %> -
- <% end %> +
+ + + + + + + + + + <% @category_list.categories.each_with_index do |c, index| %> + + + + + <% end %> + +
<%= t 'js.categories.category' %><%= t 'js.topic.list' %>
+
+ + +

+ + <%= c.name %> + +

+
<%= c.description&.html_safe %>
+
+
+
'><%= c.topic_count %>
+
<% content_for :title do %><%= @title %><% end %>