<table class="table main-list">
  <thead>
    <tr class="sort-header">
      <% @site_valid_locales.each_with_index do |locale, i| %>
        <th class="<%= 'span5' if i <= 1  %>"><a href="#"><%= t(:_locale, :locale => locale) %></a></th>
      <% end %>
      <th class="span2"><a href="#"><%= t('event_category.color') %></a></th>
    </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>