y u need two lines
This commit is contained in:
parent
4e7847dcbe
commit
8edc3ab3dd
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@
|
||||||
<h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
|
<h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
<ul>
|
<ul>
|
||||||
<%= render :partial => "post",
|
<%= render :partial => "post", :collection => @posts %>
|
||||||
:collection => @posts %>
|
|
||||||
</ul>
|
</ul>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p><%= t('no_results', :scope => 'refinery.admin.search') %></p>
|
<p><%= t('no_results', :scope => 'refinery.admin.search') %></p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue