Full width fields

* refactors full width fields from BaseModalForm into BaseForm to have this nice little feature for regular forms as well!
This commit is contained in:
mpeltriaux committed 2021-09-24 15:05:50 +02:00
1 parent 9e11395251
commit 9189785eb0
2 files changed
+9 -5

No files matched your search

+3
View File
@@ -175,6 +175,9 @@ class NewInterventionForm(BaseForm):
)
)
# Define w-100 for all form fields
full_width_fields = True
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.form_title = _("New intervention")