blob: 2e4313e2ce7e1fbe6e5660a86fdef8fa258369c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<%= render :partial => '/refinery/blog/admin/submenu' %>
<div id='records'>
<% if searching? %>
<h2><%= t('results_for', :scope => 'refinery.admin.search',
:query => params[:search]) %></h2>
<% if @categories.any? %>
<%= render :partial => "blog_categories",
:collection => @categories %>
<% else %>
<p><%= t('no_results', :scope => 'refinery.admin.search') %></p>
<% end %>
<% else %>
<% if @categories.any? %>
<%= will_paginate @categories %>
<%= render :partial => "sortable_list" %>
<%= will_paginate @categories %>
<% else %>
<p>
<strong>
<%= t('.no_items_yet', :create => t('new', :scope => 'refinery.blog.admin.submenu.categories')) %>
</strong>
</p>
<% end %>
<% end %>
</div>
|