refactor: move age and gender to question set

This commit is contained in:
James Graham
2020-11-26 14:10:38 +00:00
parent 5035b121a6
commit f95e06aa18
4 changed files with 120 additions and 40 deletions

View File

@@ -23,16 +23,6 @@
{% endif %}
<dl>
{% if person.gender %}
<dt>Gender</dt>
<dd>{{ person.get_gender_display }}</dd>
{% endif %}
{% if person.age_group %}
<dt>Age Group</dt>
<dd>{{ person.get_age_group_display }}</dd>
{% endif %}
{% if person.nationality %}
<dt>Nationality</dt>
<dd>{{ person.nationality.name }}</dd>