|
|
@ -89,7 +89,7 @@ class InternView(CookieWizardView): |
|
|
|
print ('Ehrenamtsbescheinigung detected!') |
|
|
|
form = HonoraryCertificateForm(data) |
|
|
|
else: |
|
|
|
print('ERROR! UNKNOWN FORMTYPE!') |
|
|
|
raise RuntimeError('ERROR! UNKNOWN FORMTYPE!') |
|
|
|
else: |
|
|
|
form = super().get_form(step, data, files) |
|
|
|
return form |
|
|
@ -140,7 +140,7 @@ class ExternView(CookieWizardView): |
|
|
|
form = LibraryForm(data) |
|
|
|
form.fields['library'].label = v |
|
|
|
else: |
|
|
|
print('ERROR! UNKNOWN FORMTYPE!') |
|
|
|
raise RuntimeError('ERROR! UNKNOWN FORMTYPE!') |
|
|
|
else: |
|
|
|
form = super().get_form(step, data, files) |
|
|
|
return form |
|
|
|