diff --git a/app/assets/javascripts/templates/partials/producer_details.html.haml b/app/assets/javascripts/templates/partials/producer_details.html.haml index 36718e0cb9..599b977dfc 100644 --- a/app/assets/javascripts/templates/partials/producer_details.html.haml +++ b/app/assets/javascripts/templates/partials/producer_details.html.haml @@ -6,7 +6,7 @@ .row .columns.small-12.fat %div{"bo-if" => "enterprise.name"} - %label{"bo-html" => "t('shop_for_products_html', {enterprise: enterprise.name})"} + %label{"bo-html" => "'shop_for_products_html' | t:{enterprise: enterprise.name}"} %div.show-for-medium-up{"bo-if" => "!enterprise.name"}   .row.cta-container