fixes #51: Post change search issue

This commit is contained in:
albert
2011-09-14 13:13:28 -04:00
parent 5abf3f096e
commit 12d85416ec
5 changed files with 31 additions and 11 deletions

View File

@@ -1,13 +1,5 @@
<div id="c-post-versions">
<div id="a-index">
<div id="search">
<%= simple_form_for(@search) do |f| %>
<%= f.input :updater_name_eq, :label => "User" %>
<%= f.input :post_id_eq, :label => "Post" %>
<%= f.button :submit, :value => "Search" %>
<% end %>
</div>
<% if @post_versions.empty? %>
<%= render "post_sets/blank" %>
<% else %>
@@ -16,4 +8,4 @@
</div>
</div>
<%= render "posts/partials/common/secondary_links" %>
<%= render "secondary_links" %>