Large uncommitted body of work accumulated across sessions on this branch -- committing as a checkpoint so it's tracked and future worktree-isolated agents see the real codebase instead of a stale ancestor commit. Covers the management app's dedicated Tailwind theme and templates, the club onboarding requirement/signup workflow (club/services/onboarding.py, requirement/status models, sign-up dashboard), fee/status auto-activation decoupling, referee management, and the new events calendar grid service layer. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ECGMEwrc2k4D8VQuwjstj9
33 lines
1.6 KiB
HTML
33 lines
1.6 KiB
HTML
{% load i18n lucide %}
|
|
{% comment %}
|
|
One row of the team bulk-add formset. Rendered both for the rows already in
|
|
the formset and (with __prefix__ placeholders) into the <template> the "Add
|
|
row" button clones from -- so the two can never drift apart.
|
|
{% endcomment %}
|
|
<tr class="bulk-add-row">
|
|
<td class="py-2">
|
|
{{ form.member }}
|
|
{% for error in form.member.errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
{% for error in form.non_field_errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
</td>
|
|
<td class="py-2">
|
|
{{ form.position }}
|
|
{% for error in form.position.errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
</td>
|
|
<td class="w-24 py-2">
|
|
{{ form.jersey_number }}
|
|
{% for error in form.jersey_number.errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
</td>
|
|
<td class="w-16 py-2 text-center">
|
|
{{ form.is_captain }}
|
|
{% for error in form.is_captain.errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
</td>
|
|
<td class="w-16 py-2 text-center">
|
|
{{ form.is_alternate_captain }}
|
|
{% for error in form.is_alternate_captain.errors %}<p class="mt-1 text-xs text-club-dark">{{ error }}</p>{% endfor %}
|
|
</td>
|
|
<td class="w-12 py-2">
|
|
<button class="btn btn-ghost btn-sm btn-square remove-row" type="button" aria-label="{% trans 'Remove this row' %}" title="{% trans 'Remove this row' %}">{% lucide "x" size=16 %}</button>
|
|
</td>
|
|
</tr>
|