Files
openfoodnetwork/app/views/shopping_shared/_groups.html.haml
2014-05-02 14:47:12 +10:00

11 lines
327 B
Plaintext

.content#groups
%ul
- for group in current_distributor.groups
%li
%h4= group.name
%ul
- for sibling in group.enterprises.except(current_distributor)
%li
%a{"data-reveal-id" => "sibling_details_#{sibling.id}", "data-reveal" => ""}
= sibling.name