diff --git a/app/views/medications/_story_body.html.erb b/app/views/medications/_story_body.html.erb index d93b1d54fb..1ed14d871e 100644 --- a/app/views/medications/_story_body.html.erb +++ b/app/views/medications/_story_body.html.erb @@ -1,10 +1,10 @@
<%= t('medications.strength') %> - <%= t('medications.units.display', count: local_assigns[:medication].strength, unit: t("medications.units.#{local_assigns[:medication].strength_unit}", count: local_assigns[:medication].strength)) %> + <%= t('medications.units.display', count: local_assigns[:medication].strength, unit: local_assigns[:medication].strength_unit) %>
<%= t('medications.quantity') %> - <%= t('medications.units.display', count: local_assigns[:medication].total, unit: t("medications.units.#{local_assigns[:medication].total_unit}", count: local_assigns[:medication].total)) %> + <%= t('medications.units.display', count: local_assigns[:medication].total, unit: local_assigns[:medication].total_unit) %>
<% if local_assigns[:medication].daily? %> @@ -13,7 +13,7 @@ <%= t('medications.weekly_dosage') %> <%= local_assigns[:medication].weekly_dosage.map{|i| t(:'date.abbr_day_names')[i] }.join(', ') %>; <% end %> - <%= t('medications.units.display', count: local_assigns[:medication].dosage, unit: t("medications.units.#{local_assigns[:medication].dosage_unit}", count: local_assigns[:medication].dosage)) %> + <%= t('medications.units.display', count: local_assigns[:medication].dosage, unit: local_assigns[:medication].dosage_unit) %>
<%= t('medications.refill') %>