diff --git a/anatomy/forms.py b/anatomy/forms.py index b142989f..c016a63b 100644 --- a/anatomy/forms.py +++ b/anatomy/forms.py @@ -140,11 +140,15 @@ class AnatomyQuestionForm(ModelForm): "question_type", "image", "description", - "modality", - "region", - "structure", - "examination", - "body_part", + # Place modality → body_part fields in a horizontal flex row + Div( + Div("modality", css_class="flex-fill me-2"), + Div("region", css_class="flex-fill me-2"), + Div("structure", css_class="flex-fill me-2"), + Div("examination", css_class="flex-fill me-2"), + Div("body_part", css_class="flex-fill"), + css_class="d-flex flex-wrap align-items-start mb-2", + ), "answer_help", Accordion( AccordionGroup(