{% load lucide %} {% comment %} The club's home ground -- an events.Location row flagged is_home, so setting or editing it here creates/updates the very same Location the club's own Teams > Locations page shows, no separate sync step involved. Included with `club`, `home_location`, `home_location_form` already in context. {% endcomment %}

{% lucide "map-pin" size=18 %} Home location

{% if home_location %}
Name
{{ home_location.name }}
Address
{{ home_location.address }}, {{ home_location.zip_code }} {{ home_location.city }}, {{ home_location.country }}
{% else %}

Not set yet. Once set, events at this location can be recognised as home games.

{% endif %}
{% url 'controlpanel:club_home_location_set' club.pk as home_location_url %} {% include "controlpanel/_modal_form.html" with modal_id="club_home_location_modal" title="Home location" form=home_location_form action_url=home_location_url submit_label="Save" submit_icon="save" blurb="This creates or updates a Location for the club -- the same one that shows up on its own Teams > Locations page." %}