{{ location.formatted_location|default:"Location not specified" }}
{% if location.type == 'park' %}
Park
{% elif location.type == 'ride' %}
Ride
{% elif location.type == 'company' %}
Company
{% else %}
Location
{% endif %}
{% if location.distance %}
{{ location.distance|floatformat:1 }} miles away
{% endif %}
{% if location.type == 'park' %}
{% include 'maps/partials/park_card_content.html' with park=location %}
{% elif location.type == 'ride' %}
{% include 'maps/partials/ride_card_content.html' with ride=location %}
{% elif location.type == 'company' %}
{% include 'maps/partials/company_card_content.html' with company=location %}
{% endif %}
{% if show_actions %}
{{ primary_action_text|default:"View Details" }}
{% if location.latitude and location.longitude %}
{% endif %}
{% if show_map_action %}
{% endif %}
{% if show_trip_action %}
{# Security: Use data attributes instead of inline JS with |safe #}
{% endif %}
{% endif %}
{% comment %}
This would be in templates/maps/partials/park_card_content.html
{% endcomment %}