summaryrefslogtreecommitdiff
path: root/app/views/menu_items/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
commitac01156d00b24d14225c8e75979fb59bba69640d (patch)
treef223b41358debb6cee45c5351d885505615b0e02 /app/views/menu_items/index.html.erb
parent409d71ed471703be8c56f2639a3ecb0fa387e6a7 (diff)
Tidy up headings on house keeping views
- Collapse page headers into one action row with an optional hint - limit will_paginate to one row
Diffstat (limited to 'app/views/menu_items/index.html.erb')
-rw-r--r--app/views/menu_items/index.html.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb
index 0eacc34a..b1c235da 100644
--- a/app/views/menu_items/index.html.erb
+++ b/app/views/menu_items/index.html.erb
@@ -1,8 +1,8 @@
1<h1><%= t(".title") %></h1> 1<%= render "shared/page_actions",
2 2 :title => t(".title"),
3<%= link_to new_menu_item_path, class: 'action_button' do %> 3 :icon_name => "list-details",
4 <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_item") %> 4 :label => t(".create_item"),
5<% end %> 5 :options => [[t(".create_item"), new_menu_item_path]] %>
6 6
7<p class="field_hint"><%= t(".reorder_hint") %></p> 7<p class="field_hint"><%= t(".reorder_hint") %></p>
8 8