1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #1320: Remove checkbox from confirmation dialog

This commit is contained in:
Jeremy Stretch
2017-07-12 14:53:52 -04:00
parent 74828e1409
commit 1ef90902bd
3 changed files with 6 additions and 15 deletions

View File

@@ -1694,8 +1694,7 @@ class InterfaceConnectionCSVForm(forms.ModelForm):
return interface
class InterfaceConnectionDeletionForm(BootstrapMixin, forms.Form):
confirm = forms.BooleanField(required=True)
class InterfaceConnectionDeletionForm(ConfirmationForm):
# Used for HTTP redirect upon successful deletion
device = forms.ModelChoiceField(queryset=Device.objects.all(), widget=forms.HiddenInput(), required=False)