diff options
Diffstat (limited to 'app/views/nodes/index.html.erb')
| -rw-r--r-- | app/views/nodes/index.html.erb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 357c938b..b88eca06 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -1,10 +1,8 @@ | |||
| 1 | <h1><%= t(".title") %></h1> | 1 | <%= render "shared/page_actions", |
| 2 | 2 | :title => t(".title"), | |
| 3 | <div> | 3 | :icon_name => "file-plus", |
| 4 | <%= link_to new_node_path, class: 'action_button' do %> | 4 | :label => t(".create_node"), |
| 5 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_node") %> | 5 | :options => [[t(".create_node"), new_node_path]], |
| 6 | <% end %> | 6 | :hint => t(".create_hint") %> |
| 7 | <span class="field_hint"><%= t(".create_hint") %></span> | ||
| 8 | </div> | ||
| 9 | 7 | ||
| 10 | <%= render 'node_list' %> | 8 | <%= render 'node_list' %> |
