- cache member do
  .card.card-double
    .card-body
      %h4.login-name= link_to member, member
      %div
        = render "members/avatar", member: member
      %div
        = link_to "view all #{member}'s gardens", member_gardens_path(member)
        %p
          %small
            Joined
            = distance_of_time_in_words(member.created_at, Time.zone.now)
            ago.
        - if member.location.present?
          = link_to member.location, place_path(member.location)
    .card-footer
      %ul.nav.nav-justified.small
        %li.nav-item.border-right
          = link_to member_plantings_path(member) do
            = localize_plural(member.plantings.active, Planting)
        %li.nav-item.border-right
          = link_to member_harvests_path(member) do
            = localize_plural(member.harvests, Harvest)
        %li.nav-item
          = link_to member_seeds_path(member) do
            = localize_plural(member.seeds.active, Seed)

