6 lines
254 B
Plaintext
6 lines
254 B
Plaintext
= link_to organization do
|
|
%figure.org-mini-preview{:class => (organization.avatar.is_landscape? ? 'landscape' : 'portrait')}
|
|
= image_tag organization.avatar.preview.url
|
|
%figcaption
|
|
%h5= organization.name
|
|
%p= location(organization.locations[0]) |