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:
2021-09-24 15:05:50 +02:00
parent 9e11395251
commit 9189785eb0
2 changed files with 9 additions and 5 deletions

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")