21 lines
738 B
Plaintext
21 lines
738 B
Plaintext
<table class="table main-list">
|
|
<thead>
|
|
<tr class="sort-header">
|
|
<% @site_valid_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), new_admin_module_app_category_path(@module_app_id), class: "btn btn-primary open-slide" %>
|
|
</div>
|
|
<div class="pagination pagination-centered">
|
|
<%= paginate @categories unless @categories.blank? %>
|
|
</div>
|
|
</div> |