mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-28 19:51:57 -04:00
Active only as the following page is active
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
= link_to crop_plantings_path(@crop), class: 'card-link' do
|
||||
= planting_icon
|
||||
#{@crop.name.capitalize} plantings
|
||||
%span.badge.badge-primary.badge-pill=@crop.plantings.size
|
||||
%span.badge.badge-primary.badge-pill=@crop.plantings.active.size
|
||||
.list-group-item.d-flex.justify-content-between.align-items-center
|
||||
= link_to crop_harvests_path(@crop), class: 'card-link' do
|
||||
= harvest_icon
|
||||
|
||||
Reference in New Issue
Block a user