diff --git a/app/assets/javascripts/templates/map_modal_producer.html.haml b/app/assets/javascripts/templates/map_modal_producer.html.haml index 589e2f84d6..1cbe0345f1 100644 --- a/app/assets/javascripts/templates/map_modal_producer.html.haml +++ b/app/assets/javascripts/templates/map_modal_producer.html.haml @@ -1,18 +1,18 @@ .highlight .highlight-row %p.right - {{ hub.address.city }} , {{hub.address.state}} + {{ enterprise.address.city }} , {{enterprise.address.state}} %h3 %i.ofn-i_036-producers - {{ producer.name }} + {{ enterprise.name }} - %img.producer-hero-img{"ng-src" => "{{producer.promo_image}}"} + %img.producer-hero-img{"ng-src" => "{{enterprise.promo_image}}"} .row.pad-top{bindonce: true} .small-12.large-6.columns - %img.producer-logo{"bo-src" => "producer.logo", "bo-if" => "producer.logo"} + %img.producer-logo{"bo-src" => "enterprise.logo", "bo-if" => "enterprise.logo"} %h5.modal-header About - %p{"ng-bind-html" => "producer.long_description"} + %p{"ng-bind-html" => "enterprise.long_description"} .small-12.large-6.columns %ng-include{src: "'partials/contact.html'"} @@ -20,8 +20,8 @@ .row{bindonce: true} .modal-hubs - %h5 Shop for {{producer.name}} products at: - %a.button.primary.hub{"ng-repeat" => "hub in producer.hubs", + %h5 Shop for {{enterprise.name}} products at: + %a.button.primary.hub{"ng-repeat" => "hub in enterprise.hubs", "bo-href" => "hub.path", "bo-class" => "{active: hub.active, inactive: !hub.active}", "ofn-empties-cart" => "hub"}