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:
1 parent
9e11395251
commit
9189785eb0
2 files changed
+9
-5
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user