Template enhancements
* adds configurable label-input ratio setting for forms and specializes for RemoveModalForm * enhances form body html structure for better UX and usage of label-input ratio
This commit is contained in:
@@ -24,6 +24,7 @@ class RemoveModalForm(BaseModalForm):
|
||||
widget=forms.CheckboxInput(),
|
||||
required=True,
|
||||
)
|
||||
label_input_ratio = (2, 10)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.template = "modal/modal_form.html"
|
||||
|
||||
Reference in New Issue
Block a user