diff options
Diffstat (limited to 'app/views/nodes/index.html.erb')
| -rw-r--r-- | app/views/nodes/index.html.erb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index e5a55d4..3bb251c 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -1,8 +1,12 @@ | |||
| 1 | <% content_for :subnavigation do %> | ||
| 2 | <%= link_to 'Create', new_node_path %> | ||
| 3 | <% end %> | ||
| 4 | <h1>Nodes</h1> | 1 | <h1>Nodes</h1> |
| 5 | 2 | ||
| 3 | <div> | ||
| 4 | <%= link_to new_node_path, class: 'action_button' do %> | ||
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create node | ||
| 6 | <% end %> | ||
| 7 | <span class="field_hint">Creates a node with no parent or kind set — for a specific page, use the wizard's create flow or "add child" from an existing node instead.</span> | ||
| 8 | </div> | ||
| 9 | |||
| 6 | <%= will_paginate @nodes %> | 10 | <%= will_paginate @nodes %> |
| 7 | <table class="node_table"> | 11 | <table class="node_table"> |
| 8 | <tr class="header"> | 12 | <tr class="header"> |
| @@ -21,7 +25,8 @@ | |||
| 21 | </td> | 25 | </td> |
| 22 | <td class="actions"> | 26 | <td class="actions"> |
| 23 | <%= link_to 'show', node_path(node) %> | 27 | <%= link_to 'show', node_path(node) %> |
| 24 | <%= link_to 'Revisions', node_revisions_path(node) %> | 28 | <%= link_to 'edit', edit_node_path(node) %> |
| 29 | <%= link_to 'revisions', node_revisions_path(node) %> | ||
| 25 | </td> | 30 | </td> |
| 26 | <td> | 31 | <td> |
| 27 | <%= node.lock_owner.login if node.lock_owner %> | 32 | <%= node.lock_owner.login if node.lock_owner %> |
