diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 20:14:03 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-09 20:14:03 +0200 |
| commit | da0b79a7c1f3116e2b450ecbe50efdf31cf23414 (patch) | |
| tree | 9546dd7b53e048c565d4244b5e2258687e42c133 | |
| parent | edb7f16ea65328c30e5be758a069337ade6a95ba (diff) | |
Move subnav items to action bar
| -rw-r--r-- | app/views/revisions/diff.html.erb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/revisions/diff.html.erb b/app/views/revisions/diff.html.erb index b8d061d..d8c6a47 100644 --- a/app/views/revisions/diff.html.erb +++ b/app/views/revisions/diff.html.erb | |||
| @@ -1,10 +1,9 @@ | |||
| 1 | <% content_for :subnavigation do %> | ||
| 2 | <%= link_to 'Edit', edit_node_path(@node) %> | ||
| 3 | <%= link_to 'Revisions', node_revisions_path(@node) %> | ||
| 4 | <% end %> | ||
| 5 | |||
| 6 | <h1>Revisions#diff</h1> | 1 | <h1>Revisions#diff</h1> |
| 7 | 2 | ||
| 3 | <p class="node_action_bar standalone_action_bar"> | ||
| 4 | <%= link_to 'Revisions', node_revisions_path(@node) %> | ||
| 5 | </p> | ||
| 6 | |||
| 8 | <%= form_tag diff_node_revisions_path do %> | 7 | <%= form_tag diff_node_revisions_path do %> |
| 9 | <%= select_tag :start_revision, options_for_select(@node.pages.map{|x| x.revision}, params[:start_revision].to_i) %> | 8 | <%= select_tag :start_revision, options_for_select(@node.pages.map{|x| x.revision}, params[:start_revision].to_i) %> |
| 10 | <%= select_tag :end_revision, options_for_select(@node.pages.map{|x| x.revision}, params[:end_revision].to_i) %> | 9 | <%= select_tag :end_revision, options_for_select(@node.pages.map{|x| x.revision}, params[:end_revision].to_i) %> |
