Files
danbooru/app/views/post_versions/_secondary_links.html.erb
evazion dade1e67b0 /post_versions: add search form, tweak layout.
* Add search form above table.
* Move thumbnail to left of table when viewing history of single post.
* Remove unrelated links from subnav menu.
* Fix bugs with changed_tags search.
2019-09-30 02:51:13 -05:00

9 lines
365 B
Plaintext

<% content_for(:secondary_links) do %>
<%= quick_search_form_for(:changed_tags, post_versions_path, "by tags", autocomplete: "tag-query") %>
<%= subnav_link_to "Listing", post_versions_path %>
<%= subnav_link_to "Search", search_post_versions_path %>
<% if params[:action] == "index" %>
| <%= subnav_link_to "Undo selected", "" %>
<% end %>
<% end %>