Files
openfoodnetwork/app/views/shopping_shared/_header.html.haml
Matt-Yorkley 1d5077061e Remove andand
This old gem implemented some functionality for handling nils which is no longer needed, as it's provided natively by Ruby with the &. operator.
2021-09-08 14:28:31 +01:00

13 lines
398 B
Plaintext

- distributor = @order&.distributor || current_distributor
%navigation
%distributor.details.row
.small-12.medium-12.large-8.columns
#distributor_title
- if distributor.logo?
%img.left{src: distributor.logo.url(:thumb)}
= render DistributorTitleComponent.new(name: distributor.name)
%location= distributor.address.city
= yield :ordercycle_sidebar