Fix user detail for children

This commit is contained in:
Yohann D'ANELLO 2021-01-24 23:37:55 +01:00
parent c500a735d8
commit 6898e9413a
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@
</dd>
{% endif %}
{% if user_object.registration.studentregistration and user_object.registration.participation.tournament and not user_object.registration.participation.tournament.remote %}
{% if user_object.registration.under_18 %}
{% if user_object.registration.studentregistration %}
{% if user_object.registration.under_18 and user_object.registration.team.participation.tournament and not user_object.registration.team.participation.tournament.remote %}
<dt class="col-sm-6 text-right">{% trans "Health sheet:" %}</dt>
<dd class="col-sm-6">
{% if user_object.registration.health_sheet %}