mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
new view to display all distributors
This commit is contained in:
12
app/views/enterprises/distributors.html.haml
Normal file
12
app/views/enterprises/distributors.html.haml
Normal file
@@ -0,0 +1,12 @@
|
||||
- content_for :sidebar do
|
||||
%div{'data-hook' => "homepage_sidebar_navigation"}
|
||||
= render 'spree/sidebar'
|
||||
|
||||
|
||||
%h1 Distributors
|
||||
|
||||
= cms_page_content(:content, Cms::Page.find_by_full_path('/enterprises/distributors'))
|
||||
|
||||
%ul.enterprises
|
||||
- @distributors.each do |distributor|
|
||||
%li= link_to distributor.name, distributor
|
||||
Reference in New Issue
Block a user