Only display location if we have a location

This commit is contained in:
Brenda Wallace
2019-11-24 12:21:37 +13:00
parent e7c30ef448
commit cf2c42a7e0

View File

@@ -35,4 +35,5 @@
- else
.badge.text-muted{'aria-hidden': "true"}
= I18n.t('date.abbr_month_names')[month]
in #{link_to planting.garden.location, place_path(planting.garden.location)}
- unless planting.garden.location.blank?
in #{link_to planting.garden.location, place_path(planting.garden.location)}