{% extends "management/base.html" %} {% load i18n lucide ui %} {% comment %} A club's own self-service identity/branding editor -- see management/forms.py's ClubSettingsForm for exactly which fields are editable here versus platform-staff-only (slug, seasons). D9 "Club identity & branding" in the design handoff is the reference; its live-preview and advanced (custom stylesheet / own domain) panels aren't real features here, so this sticks to the fields the form actually has, laid out in the same card-per-section language. {% endcomment %} {% block panel_title %}{% trans "Club identity" %}{% endblock panel_title %} {% block heading %}{% trans "Club identity" %}{% endblock heading %} {% block actions %} {% endblock actions %} {% block panel %}
{% csrf_token %} {% for error in form.non_field_errors %}
{% lucide "circle-x" size=18 %} {{ error }}
{% endfor %}
{% lucide "building-2" size=16 %} {% trans "Club" %}
{% form_field form.name %} {% form_field form.legal_name %} {% form_field form.contact_email %}
{% lucide "image" size=16 %} {% trans "Logo" %}
{% if club.logo %} {% else %} {{ club.initials }} {% endif %}
{% form_field form.logo %}
{% lucide "palette" size=16 %} {% trans "Colours" %}
{% form_field form.primary_color %} {% form_field form.secondary_color %}
{% trans "Current colours" %}
{% endblock panel %}