From 3d4eec32441d37460ff6ca60dc7abf31d5b1bba5 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 14 Aug 2026 01:23:45 +0200 Subject: Bring menu_items#new up to the current markup The page now uses .admin_layout, so its fields get the shared treatment.xi The title fields carry .menu_field for the 44rem cap, which survives a third locale where an id list would not. --- app/views/menu_items/_title_fields.html.erb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/menu_items/_title_fields.html.erb') diff --git a/app/views/menu_items/_title_fields.html.erb b/app/views/menu_items/_title_fields.html.erb index daf449cf..815b8228 100644 --- a/app/views/menu_items/_title_fields.html.erb +++ b/app/views/menu_items/_title_fields.html.erb @@ -6,6 +6,7 @@
<%= text_field_tag "menu_item[titles][#{locale}]", menu_item.translations.find_by(:locale => locale)&.title, + :class => "menu_field", :placeholder => (locale == I18n.default_locale ? nil : t(".falls_back")) %>
-- cgit v1.3