aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorscambra <sergio@entrecables.com>2011-03-07 17:36:40 +0100
committerscambra <sergio@entrecables.com>2011-03-07 17:36:40 +0100
commit95aee80a015497e9f42db36ba723b164c0b34c63 (patch)
treec6b4757a0097ae462e11998be89e958df4aa243d /app
parent2907a619a437ee44c7feb67c29deab8ef36a1694 (diff)
downloadrefinerycms-blog-95aee80a015497e9f42db36ba723b164c0b34c63.tar.gz
refinerycms-blog-95aee80a015497e9f42db36ba723b164c0b34c63.tar.bz2
refinerycms-blog-95aee80a015497e9f42db36ba723b164c0b34c63.zip
fix searching: use _post partial and put inside ul
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/blog/posts/index.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/admin/blog/posts/index.html.erb b/app/views/admin/blog/posts/index.html.erb
index da11a1a..f9baaac 100644
--- a/app/views/admin/blog/posts/index.html.erb
+++ b/app/views/admin/blog/posts/index.html.erb
@@ -3,8 +3,10 @@
<% if searching? %>
<h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2>
<% if @blog_posts.any? %>
- <%= render :partial => "blog_posts",
+ <ul>
+ <%= render :partial => "post",
:collection => @blog_posts %>
+ </ul>
<% else %>
<p><%= t('shared.admin.search.no_results') %></p>
<% end %>