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