Adds checkboxes to the /post_versions index allowing you to select and undo multiple versions at once.
11 lines
429 B
Plaintext
11 lines
429 B
Plaintext
<% content_for(:secondary_links) do %>
|
|
<%= subnav_link_to "Listing", posts_path %>
|
|
<%= subnav_link_to "Upload", new_upload_path %>
|
|
<%= subnav_link_to "Search", search_post_versions_path %>
|
|
<%= subnav_link_to "Changes", post_versions_path %>
|
|
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
|
|
<% if params[:action] == "index" %>
|
|
| <%= subnav_link_to "Undo selected", "" %>
|
|
<% end %>
|
|
<% end %>
|