% content_for :subnavigation do %> <%= link_to 'Edit', edit_node_path(@node) %> <% end %>
| First | Last | Rev. | Title | Editor | Date | ||
|---|---|---|---|---|---|---|---|
| <%= radio_button_tag :start_revision, page.revision %> | <%= radio_button_tag :end_revision, page.revision %> | <%= page.revision %> | <%= page.title %> | <%= page.editor.try(:login) %> | <%= page.updated_at %> | <%= link_to 'show', node_revision_path(@node, page) %> | <%= button_to 'restore', restore_node_revision_path(@node, page), method: :put, form: { data: { confirm: "Restore this revision?" } } %> |
| <%= button_to 'Diff revisions', diff_node_revisions_path(@node), method: :post, form: { id: 'diff_form' } %> | |||||||