| First | Last | Rev. | Title | Editor | Date | ||
|---|---|---|---|---|---|---|---|
| <%= button_to 'Diff revisions', diff_node_revisions_path(@node), method: :post, form: { id: 'diff_form', class: 'button_to computation' }, disabled: true %> | |||||||
| <%= radio_button_tag :start_revision, page.revision, index == 1 %> | <%= radio_button_tag :end_revision, page.revision, index == 0 %> | <%= 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?" }, class: 'button_to state_changing' } %> |