diff --git a/intervention/forms/forms.py b/intervention/forms/forms.py index b6252453..d0c9c91c 100644 --- a/intervention/forms/forms.py +++ b/intervention/forms/forms.py @@ -345,18 +345,3 @@ class EditInterventionForm(NewInterventionForm): return self.instance - -class OpenInterventionForm(EditInterventionForm): - """ - This form is not intended to be used as data-input form. It's used to simplify the rendering of intervention:open - """ - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - - # Resize map - self.fields["geometry"].widget.attrs["map_width"] = 500 - self.fields["geometry"].widget.attrs["map_height"] = 300 - - # Disable all form fields - for field in self.fields: - self.disable_form_field(field)