From cc714e1e45ba08a3b0d906a7ee3c14c007186014 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Wed, 13 Dec 2023 10:34:10 +0100 Subject: [PATCH] fix: reorder fields in edit form --- apis_ontology/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis_ontology/forms.py b/apis_ontology/forms.py index 2086cff..526ef49 100644 --- a/apis_ontology/forms.py +++ b/apis_ontology/forms.py @@ -43,6 +43,8 @@ class Meta: class PersonForm(EntityForm): + field_order = ["first_name", "name", "start_date_written", "end_date_written", "gender", "profession", "title",] + class Meta: model = Person fields = "__all__"