Commit a073d8f0 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

forms.ChangeLanguageForm: Fix redirect for crispy form

parent 710118ae
Pipeline #29192 passed with stage
in 11 seconds
......@@ -93,6 +93,6 @@ class ChangeLanguageForm(_BaseChangeLanguageForm, TucForm):
def __init__(self, redirect_to, *args, **kwargs):
super(ChangeLanguageForm, self).__init__(redirect_to, *args, **kwargs)
self.helper.form_action = self.form_action
self.add_aria_attributes()
self.add_crispy_attributes()
self.helper.form_action = self.form_action
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment