mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 09:43:33 +02:00
add hidden input deletion_widget
This commit is contained in:
parent
6692eebfe3
commit
4be47912dc
1 changed files with 3 additions and 0 deletions
|
@ -821,6 +821,9 @@ class BaseOtherContactsFormSet(RegistrarFormSet):
|
||||||
"contact_applications_information",
|
"contact_applications_information",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def get_deletion_widget(self):
|
||||||
|
return forms.HiddenInput(attrs={"class": "deletion"})
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
self.formset_data_marked_for_deletion = False
|
self.formset_data_marked_for_deletion = False
|
||||||
self.application = kwargs.pop("application", None)
|
self.application = kwargs.pop("application", None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue