{% load lucide ui i18n %} {% comment %} Shared by family_detail.html and member_detail.html's own Family panel -- one table design for "everyone in this family", included with `group` (a dict from management.views.group_by_family: family/guardians/children/others/all) and `family_role_choices` (FamilyMembership.FamilyRole.choices, for the role dropdown). `next_url`, if passed, is where a role change redirects back to -- member_detail.html passes its own URL so admins land back on the member they were viewing; family_detail.html leaves it unset, since staying on the family page is already the right place there. {% endcomment %}
| {% trans "Last name" %} | {% trans "First name" %} | {% trans "Email" %} | {% trans "Type" %} | |
|---|---|---|---|---|
| {{ person.last_name }} | {{ person.first_name }} | {{ person.contact_email|default:"-" }} | {% if is_club_admin %} {% else %} {{ person.role_in_family_display|capfirst }} {% endif %} |
{% if is_club_admin %}
{% if person.grant_login_form %}
{% endif %}
{% lucide "pencil" size=14 %} {% trans "Edit" %}
{% endif %}
|