<table class="table main-list">
  <thead>
    <tr class="sort-header">
      <% @site_in_use_locales.each_with_index do |locale, i| %>
        <th class="<%= 'span50-percent' if i==0 %>"><a href="#"><%= t(:_locale, :locale => locale) %></a></th>
      <% end %>
    </tr>
  </thead>
  <tbody>
    <%= render partial: 'category', collection: @categories %>
  </tbody>
</table>

<div class="bottomnav clearfix">
  <div class="action pull-right">
    <%= link_to content_tag(:i, nil, class: "icons-plus") + " " + t(:add), '#', class: "btn btn-primary open-slide", data: {title: t(:add_category), id: 'new', module: @module_app_id.to_s } %>
  </div>
  <div class="pagination pagination-centered">
    <%= paginate @categories unless @categories.blank? %>
  </div>
</div>