<% @table_fields.each do |f| %> <%= thead(f) %> <% end %>
<% @archives.each do |archive| %>
<%= archive.status_for_table %>
<%= archive.category.title %>
<%= archive.title %>
<% if can_edit_or_delete?(archive) %>
<%= t(:edit) %>
<%= t(:delete_) %>
<% end %>
<%= format_value archive.updated_at rescue nil %>
<%= User.find(archive.update_user_id).user_name rescue nil %>
<% end %>
<%= content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@archives), class: "pagination pagination-centered" end %>