Files
danbooru/app/views/post_versions/index.html.erb
2011-08-16 18:47:01 -04:00

19 lines
545 B
Plaintext

<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 %>
<%= render"listing", :post_versions => @post_versions %>
<% end %>
</div>
</div>
<%= render "posts/partials/common/secondary_links" %>