Fix section select on edit person

This commit is contained in:
William Bouzourène 2025-01-28 19:59:48 +01:00
parent ca545bd5d6
commit 26d31a09ec
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww

View file

@ -204,7 +204,7 @@
{% for Section in Sections %} {% for Section in Sections %}
<option <option
value="{{ Section.ID }}" value="{{ Section.ID }}"
{% if Section.ID == Person.Section %} {% if Section.ID == Person.SectionID %}
selected selected
{% endif %} {% endif %}
> >