diff options
Diffstat (limited to 'app/views/menu_items/_title_fields.html.erb')
| -rw-r--r-- | app/views/menu_items/_title_fields.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
| 6 | <div class="layout_row_content"> | 6 | <div class="layout_row_content"> |
| 7 | <%= text_field_tag "menu_item[titles][#{locale}]", | 7 | <%= text_field_tag "menu_item[titles][#{locale}]", |
| 8 | menu_item.translations.find_by(:locale => locale)&.title, | 8 | menu_item.translations.find_by(:locale => locale)&.title, |
| 9 | :class => "menu_field", | ||
| 9 | :placeholder => (locale == I18n.default_locale ? nil : t(".falls_back")) %> | 10 | :placeholder => (locale == I18n.default_locale ? nil : t(".falls_back")) %> |
| 10 | </div> | 11 | </div> |
| 11 | </div> | 12 | </div> |
