From 2e9d3539353ec394171cf4a4d15d4220d9d9110d Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Mon, 23 Sep 2019 00:24:58 +0200 Subject: [PATCH] Changes in ingredients index --- app/views/ingredients/index.html.erb | 6 +++--- config/locales/en.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/ingredients/index.html.erb b/app/views/ingredients/index.html.erb index 8c55403..dfd29a9 100644 --- a/app/views/ingredients/index.html.erb +++ b/app/views/ingredients/index.html.erb @@ -51,7 +51,7 @@ <%= l(:field_name) %> - <%= l(:field_ref_amount) %> + <%= l(:field_reference) %> <%= l(:field_group) %> <%= l(:field_source) %> <%= l(:field_action) %> @@ -60,8 +60,8 @@ <% @ingredients.each do |i| %> - <%= i.name %> - <%= i.ref_amount %> [<%= i.ref_unit.shortname %>] + <%= i.name %> + <%= i.ref_amount %> [<%= i.ref_unit.shortname %>] <%= i.group %> <%#= i.source %> <%= delete_link ingredient_path(i), data: {} %> diff --git a/config/locales/en.yml b/config/locales/en.yml index bc4c672..8b20f37 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2,7 +2,7 @@ en: body_trackers_menu_caption: 'Body trackers' field_action: 'Action' - field_ref_amount: 'Reference amount' + field_reference: 'Reference' field_group: 'Group' field_source: 'Source' field_nutrients: 'Nutrients:'