feat: Use correct id for form

This commit is contained in:
moanos [he/him] 2024-04-20 08:40:04 +02:00
parent 65a921248f
commit c103419193

View File

@ -13,7 +13,8 @@ class AdoptionNoticeForm(forms.ModelForm):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.helper = FormHelper() self.helper = FormHelper()
self.helper.form_id = 'id-exampleForm'
self.helper.form_id = 'form-adoption-notice'
self.helper.form_class = 'card' self.helper.form_class = 'card'
self.helper.form_method = 'post' self.helper.form_method = 'post'