{% extends "management/base.html" %} {% load i18n lucide ui %} {% block heading %}{% trans "Parent claims" %}{% endblock heading %} {% block subheading %}{% trans "Parents asking to be linked to a child the club already has on file." %}{% endblock subheading %} {% block panel %}

{% lucide "inbox" size=18 %} {% trans "Waiting for review" %}

{% blocktrans %}Check each request against your own records before approving. The shortlist only ever contains children who have nobody on file, so approving can never re-parent a child who already has one. An approved parent is added as a guardian: they get the login, but owe no fee and are not counted as a member.{% endblocktrans %}

{% for claim in pending %}
{% trans "Parent says they are" %}
{{ claim.parent_name }}
{{ claim.parent_email }}
{% trans "Parent of" %}
{{ claim.claimed_child_name }}
{{ claim.child_date_of_birth|date:"j F Y" }}
{% if claim.has_candidates %}
{% csrf_token %}
{% form_field claim.review_form.child %}
{% else %}

{% trans "No child without a parent matches this. Check the spelling and the date of birth with them before rejecting." %}

{% endif %}
{% csrf_token %}
{% empty %}

{% trans "Nothing waiting." %}

{% endfor %}

{% lucide "user-search" size=18 %} {% trans "Children with nobody on file" %}

{% trans "Imported without a parent. They stay here until someone claims them." %}

{% if reviewed %}

{% lucide "history" size=18 %} {% trans "Already dealt with" %}

{% for claim in reviewed %} {% endfor %}
{% trans "Parent" %} {% trans "Claimed" %} {% trans "Outcome" %} {% trans "Reviewed by" %}
{{ claim.parent_name }}
{{ claim.parent_email }}
{{ claim.claimed_child_name }} {% if claim.status == "approved" %} {% trans "Approved" %} {% if claim.child %}
{{ claim.child }}
{% endif %} {% else %} {% trans "Rejected" %} {% if claim.note %}
{{ claim.note }}
{% endif %} {% endif %}
{{ claim.reviewed_by|default:"—" }}
{% endif %} {% endblock panel %}