forked from CGM_Public/pretix_original
Widget: Prefill email_repeat with data-email attribute (Z#23181657) (#4813)
This commit is contained in:
@@ -787,6 +787,10 @@ class QuestionsStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
|
|||||||
self.cart_session.get('email', '') or
|
self.cart_session.get('email', '') or
|
||||||
wd.get('email', '')
|
wd.get('email', '')
|
||||||
),
|
),
|
||||||
|
'email_repeat': (
|
||||||
|
self.cart_session.get('email_repeat', '') or
|
||||||
|
wd.get('email', '')
|
||||||
|
),
|
||||||
'phone': self.cart_session.get('phone', '') or wd.get('phone', None)
|
'phone': self.cart_session.get('phone', '') or wd.get('phone', None)
|
||||||
}
|
}
|
||||||
initial.update(self.cart_session.get('contact_form_data', {}))
|
initial.update(self.cart_session.get('contact_form_data', {}))
|
||||||
|
|||||||
Reference in New Issue
Block a user